mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
should work!!!
This commit is contained in:
parent
0f54882b65
commit
2ca9675f31
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -73,7 +73,7 @@ async def overwatch_status_change(timeout):
|
||||||
medal=overwatch.rank_to_medal(
|
medal=overwatch.rank_to_medal(
|
||||||
int(r["data"]["competitive"]["rank"]))))
|
int(r["data"]["competitive"]["rank"]))))
|
||||||
# Update database
|
# Update database
|
||||||
db[player]["overwatch"]["rank"] = r["data"]["competitive"]["rank"]
|
db[player]["overwatch"]["rank"] = int(r["data"]["competitive"]["rank"])
|
||||||
f = open("db.json", "w")
|
f = open("db.json", "w")
|
||||||
json.dump(db, f)
|
json.dump(db, f)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
Loading…
Reference in a new issue