1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

should work!!!

This commit is contained in:
Steffo 2016-11-02 15:51:02 +01:00
parent 0f54882b65
commit 2ca9675f31

View file

@ -73,7 +73,7 @@ async def overwatch_status_change(timeout):
medal=overwatch.rank_to_medal(
int(r["data"]["competitive"]["rank"]))))
# Update database
db[player]["overwatch"]["rank"] = r["data"]["competitive"]["rank"]
db[player]["overwatch"]["rank"] = int(r["data"]["competitive"]["rank"])
f = open("db.json", "w")
json.dump(db, f)
f.close()