From 54ae8ff5125dd64125410830944db2941dcdece8 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 6 May 2017 15:52:38 +0200 Subject: [PATCH] Increased timeout --- royalbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/royalbot.py b/royalbot.py index 746d5fe4..96172040 100644 --- a/royalbot.py +++ b/royalbot.py @@ -283,14 +283,14 @@ Sintassi: `{symbol}synclol `""" lolaccount.parent_id = thing.author.id session.add(lolaccount) # Update the newly added user - updates = lolaccount.update_data() + lolaccount.update_data() # Send some info to Discord await d.client.send_message(thing.channel, "Connessione riuscita!", embed=lolaccount.generate_discord_embed()) # Commit the changes to the database session.commit() -async def job_updatelol(singletimeout=1, alltimeout=900): +async def job_updatelol(singletimeout=1, alltimeout=1800): await d.client.wait_until_ready() while True: # Open a new database session