From 88c6667a2e2f26e0a9df3657da5a8a61b6aab526 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 17 Jun 2020 15:03:42 +0300 Subject: [PATCH] update --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e910221..c83ccf6 100755 --- a/main.py +++ b/main.py @@ -240,7 +240,7 @@ def users_list(update: Update, ctx: CallbackContext): try: with open('fake_users.json') as f: - subs = {data[0]: Subscriber(*data) for data in json.load(f).items()} + subs = {data[0]: Subscriber(int(data[0]), data[1]) for data in json.load(f).items()} except: subs = conn.root.subscribers.values()