Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeptemberHX committed Mar 21, 2022
1 parent 54a5745 commit 558e8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

def read_users(user_data_path):
with open(user_data_path) as f:
users = json.load(f)
users = json.load(f, object_hook=lambda d: {int(k) if k.lstrip('-').isdigit() else k: v for k, v in d.items()})
return users


Expand Down

0 comments on commit 558e8e6

Please sign in to comment.