Fix missing parameter rename

In 27d1053a27 the signature of
save_channel() was updated and the users variable was removed from the
main function but one save_channel() call was still using it.

Fix that by calling save_channel() with user_list in the missing
instance.
This commit is contained in:
Iago Lopez Galeiras 2022-07-13 10:07:09 +02:00
parent 81445a1911
commit 5010913a40

View file

@ -493,7 +493,7 @@ if __name__ == "__main__":
else:
for ch_id in [x["id"] for x in ch_list]:
ch_hist = channel_history(ch_id, oldest=a.fr, latest=a.to)
save_channel(ch_hist, ch_id, ch_list, users)
save_channel(ch_hist, ch_id, ch_list, user_list)
# elif, since we want to avoid asking for channel_history twice
elif a.r:
for ch_id in [x["id"] for x in channel_list()]: