From 5010913a409549febea05a56cf1d0f6759cdf398 Mon Sep 17 00:00:00 2001 From: Iago Lopez Galeiras Date: Wed, 13 Jul 2022 10:07:09 +0200 Subject: [PATCH] Fix missing parameter rename In 27d1053a27e2640de13071ec8f4badf8a8f9823e 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. --- exporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exporter.py b/exporter.py index e13a404..050d6ee 100755 --- a/exporter.py +++ b/exporter.py @@ -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()]: