fix: introspection bogus child paths (#280)

This commit is contained in:
mriemensberger
2024-05-08 21:56:13 +02:00
committed by GitHub
parent f0fc6668b9
commit 7da5d44caa
2 changed files with 6 additions and 1 deletions

View File

@@ -664,6 +664,9 @@ class BaseMessageBus:
continue
child_path = export_path.split(path, maxsplit=1)[1]
if path != "/" and child_path and child_path[0] != "/":
continue
child_path = child_path.lstrip("/")
child_name = child_path.split("/", maxsplit=1)[0]