Use name field

main
Bob Mottram 2021-10-21 18:14:05 +01:00
parent 8de2a24235
commit 63e68c7af3
1 changed files with 3 additions and 1 deletions

View File

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