Fix remove_moderator to use Address.email instead of Address

This commit is contained in:
Adam Goldsmith 2024-01-19 23:15:51 -05:00
parent 1b9c2936a3
commit 8f2597e40c

View File

@ -118,7 +118,7 @@ def sync_moderators(
for member in members_to_remove: for member in members_to_remove:
print(f"Removing {member} as moderator from list {list}") print(f"Removing {member} as moderator from list {list}")
if not dry_run: if not dry_run:
list.remove_moderator(member.address) list.remove_moderator(member.address.email)
def update_cloudflare_lists( def update_cloudflare_lists(