Mailing lists: use unmodified name for desc lookup

master 0.3.9
Drew DeVault 3 years ago
parent 43b3a612e6
commit d53f622d54

@ -91,13 +91,14 @@ Mailing list for end-user discussion and questions related to the
template = templates[template]
for list_name in template:
desc = descs[list_name]
list_name = list_name.lower() # Per lists.sr.ht naming rules
try:
mailing_list = lists.get_list(owner, list_name)
except:
valid = Validation({
"name": list_name,
"description": descs[list_name],
"description": desc,
})
mailing_list = lists.create_list(owner, valid)
if not mailing_list:

Loading…
Cancel
Save