Fix error instance
This commit is contained in:
parent
780a4ce2d7
commit
99eb7c39fe
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue