From 0272a0b9c0cc6d44477c691817edc015e4d173f8 Mon Sep 17 00:00:00 2001 From: Sleepingpirates <32914211+Sleepingpirates@users.noreply.github.com> Date: Wed, 22 Jul 2020 22:37:21 -0400 Subject: [PATCH] Update routes.py --- app/app/routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +