remove typo
This commit is contained in:
parent
567293b5a1
commit
1357b67334
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ if changed:
|
||||||
for section in config.sections():
|
for section in config.sections():
|
||||||
if section not in ["Re2o", "Mailman"] and config.getboolean(section, 'activate'):
|
if section not in ["Re2o", "Mailman"] and config.getboolean(section, 'activate'):
|
||||||
list_name = config.get(section, "list_name", fallback=section)
|
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():
|
if "entries" in response1.json():
|
||||||
entries = response1.json()['entries']
|
entries = response1.json()['entries']
|
||||||
old_emails = [entry['email'] for entry in entries]
|
old_emails = [entry['email'] for entry in entries]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue