Fix subscribe()
-> add_moderator()
in sync_moderators()
This commit is contained in:
parent
a0118df35d
commit
defc42e3fb
@ -112,7 +112,7 @@ def sync_moderators(
|
|||||||
for address, display_name in members_to_add.items():
|
for address, display_name in members_to_add.items():
|
||||||
print(f"Adding '{display_name} <{address}>' as moderator to list {list}")
|
print(f"Adding '{display_name} <{address}>' as moderator to list {list}")
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
list.subscribe(address, display_name)
|
list.add_moderator(address, display_name)
|
||||||
|
|
||||||
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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user