update
This commit is contained in:
parent
9d2e87bed0
commit
88c6667a2e
2
main.py
2
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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user