Update exporter.py

fixed issues with name 'users' is not define
This commit is contained in:
SanchosPoncho 2022-07-29 09:27:43 -07:00 committed by GitHub
parent 81445a1911
commit 91abbdc764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()]: