main
Bob Mottram 2021-10-21 18:27:27 +01:00
parent 63e68c7af3
commit 7c2da78c55
1 changed files with 2 additions and 4 deletions

View File

@ -1676,10 +1676,8 @@ def _htmlEditProfileFiltering(baseDir: str, nickname: str, domain: str,
200, '', False) 200, '', False)
CWlistsStr = '' CWlistsStr = ''
for listName, item in CWlists.items(): for name, item in CWlists.items():
if not item.get('name'): print('CWlistsStr: ' + name)
continue
name = item['name']
variableName = 'list' + name.replace(' ', '').replace("'", '') variableName = 'list' + name.replace(' ', '').replace("'", '')
if listName in listsEnabled: if listName in listsEnabled:
listIsEnabled = True listIsEnabled = True