From 11e45e0c45ce2edda9df9d21f68c9781feb829ef Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 9 Feb 2017 15:37:01 +0100 Subject: [PATCH] Fixed db_saves --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index d79ff5fe..ed4d5bcd 100644 --- a/main.py +++ b/main.py @@ -67,6 +67,7 @@ async def overwatch_status_change(timeout): loop.create_task(send_event(eventmsg=s.overwatch_level_up, player=player, level=level)) # Update database db[player]["overwatch"]["level"] = level + save_db() # Check for rank changes rank = r["data"]["competitive"]["rank"] if rank is not None: