len(get_inverse) -> get_total_inverses

This commit is contained in:
Andrej730
2025-02-24 11:34:47 +05:00
parent 6eda4e389c
commit 5eb9cb2ee4
17 changed files with 26 additions and 26 deletions
@@ -117,7 +117,7 @@ class Usecase:
for element in rel.RelatedObjects:
self.change_profile(element, profile)
if old_profile and len(self.file.get_inverse(old_profile)) == 0:
if old_profile and self.file.get_total_inverses(old_profile) == 0:
# TODO: check remove deep
self.file.remove(old_profile)