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:
parent
81445a1911
commit
5010913a40
1 changed files with 1 additions and 1 deletions
|
@ -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()]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue