Update routes.py
This commit is contained in:
@@ -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.")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user