fix find of root templates in anatomy

This commit is contained in:
Jakub Trllo 2023-01-19 15:21:47 +01:00
parent 5fa000803a
commit aab842e4b7

View file

@ -1126,7 +1126,7 @@ class RootItem(FormatObject):
if _mod_path.startswith(root_path):
result = True
replacement = "{" + self.full_key() + "}"
output = replacement + _mod_path[len(root_path):]
output = replacement + mod_path[len(root_path):]
break
return (result, output)