_meta unbound #519

This commit is contained in:
Jokob-sk
2023-12-18 07:55:41 +11:00
parent 8e0eb6a480
commit 47a3f7073b
3 changed files with 11 additions and 3 deletions

View File

@@ -250,6 +250,11 @@ class Notification_obj:
def construct_notifications(JSON, section):
jsn = JSON[section]
# Return if empty
if jsn == []:
return '',''
tableTitle = JSON[section + "_meta"]["title"]
headers = JSON[section + "_meta"]["columnNames"]