From 7c2da78c553c6e9363569c189bd4c9a58265ad09 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 21 Oct 2021 18:27:27 +0100 Subject: [PATCH] Debug --- webapp_profile.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index aab8eccb5..dccb6036f 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1676,10 +1676,8 @@ def _htmlEditProfileFiltering(baseDir: str, nickname: str, domain: str, 200, '', False) CWlistsStr = '' - for listName, item in CWlists.items(): - if not item.get('name'): - continue - name = item['name'] + for name, item in CWlists.items(): + print('CWlistsStr: ' + name) variableName = 'list' + name.replace(' ', '').replace("'", '') if listName in listsEnabled: listIsEnabled = True