mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-05 19:44:51 +00:00
Update __main__.py
This commit is contained in:
parent
989b6ea391
commit
d7282988e2
1 changed files with 1 additions and 2 deletions
|
|
@ -72,8 +72,7 @@ async def start_bot():
|
||||||
)
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOGGER.error(str(e))
|
LOGGER.error(str(e))
|
||||||
if bool(scheduler.get_jobs()):
|
scheduler.start()
|
||||||
scheduler.start()
|
|
||||||
if os.path.exists("restart.pickle"):
|
if os.path.exists("restart.pickle"):
|
||||||
with open('restart.pickle', 'rb') as status:
|
with open('restart.pickle', 'rb') as status:
|
||||||
chat_id, message_id = pickle.load(status)
|
chat_id, message_id = pickle.load(status)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue