diff --git a/app/app/routes.py b/app/app/routes.py index 5c9c6ab..ebab190 100644 --- a/app/app/routes.py +++ b/app/app/routes.py @@ -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.") - \ No newline at end of file +