remove typo

This commit is contained in:
root 2020-04-14 16:20:10 +02:00
parent 567293b5a1
commit 1357b67334

View file

@ -20,7 +20,7 @@ if changed:
for section in config.sections():
if section not in ["Re2o", "Mailman"] and config.getboolean(section, 'activate'):
list_name = config.get(section, "list_name", fallback=section)
response1 = requests.get(roster_url.format(mailman_url=mailman_url, list_namelist_name, domain=domain), auth=(mailman_username, mailman_password))
response1 = requests.get(roster_url.format(mailman_url=mailman_url, list_name=list_name, domain=domain), auth=(mailman_username, mailman_password))
if "entries" in response1.json():
entries = response1.json()['entries']
old_emails = [entry['email'] for entry in entries]