Update routes.py

This commit is contained in:
Sleepingpirates
2020-07-22 22:37:21 -04:00
committed by GitHub
parent eff302d846
commit 0272a0b9c0

View File

@@ -118,6 +118,7 @@ def plex():
if os.path.exists('/app/app/config/config.ini'):
try:
manage_bot('kill')
manage_bot('start')
except Exception as e:
manage_bot('kill')
@@ -125,4 +126,4 @@ if os.path.exists('/app/app/config/config.ini'):
else:
print("Please configure bot in the webapi and click save changes to start the bot.")