Fix remove_moderator
to use Address.email
instead of Address
This commit is contained in:
parent
1b9c2936a3
commit
8f2597e40c
@ -118,7 +118,7 @@ def sync_moderators(
|
||||
for member in members_to_remove:
|
||||
print(f"Removing {member} as moderator from list {list}")
|
||||
if not dry_run:
|
||||
list.remove_moderator(member.address)
|
||||
list.remove_moderator(member.address.email)
|
||||
|
||||
|
||||
def update_cloudflare_lists(
|
||||
|
Loading…
Reference in New Issue
Block a user