Fix list name parameter to sync_members

This commit is contained in:
Adam Goldsmith 2022-12-25 02:22:20 -05:00
parent 7873b964bd
commit fa366e7e63

View File

@ -48,7 +48,7 @@ def main(mailman_bin: Path, api: str, token: str, list_suffix: str):
for name, members in certification_lists.items():
list_name = name + list_suffix
if list_name in existing_lists:
sync_members(mailman_bin, name, members)
sync_members(mailman_bin, list_name, members)
else:
print(f"Skipping {list_name}, as it does not exist in Mailman")