Fix error instance

This commit is contained in:
PCoder 2024-07-19 16:20:19 +05:30
parent 780a4ce2d7
commit 99eb7c39fe

View file

@ -83,7 +83,7 @@ def menuitems_children(parent, context=None):
elif 'mitglied werden' in menuitem.title.lower() and remove_mitglied:
items_to_remove.append(menuitem)
menuitem.title = menuitem.trans_title
except AttributeError:
except AttributeError as ae:
print("Menuitem %s has an issue :: %s" % (menuitem.title, str(ae)))
pass
for item in items_to_remove: