This commit is contained in:
bakatrouble 2020-06-17 15:03:42 +03:00
parent 9d2e87bed0
commit 88c6667a2e

View File

@ -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()