From 09297b853b4c18fff1dc4f451e26047de71d0744 Mon Sep 17 00:00:00 2001 From: echel0n Date: Mon, 16 Jun 2014 17:48:22 -0700 Subject: [PATCH] Fix for autoreload issues --- SickBeard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SickBeard.py b/SickBeard.py index ad2fb4ca..aa0a4c6b 100755 --- a/SickBeard.py +++ b/SickBeard.py @@ -60,6 +60,7 @@ from sickbeard import db from sickbeard.tv import TVShow from sickbeard import logger from sickbeard import webserveInit +from sickbeard import autoreload_shutdown from sickbeard.version import SICKBEARD_VERSION from sickbeard.databases.mainDB import MIN_DB_VERSION from sickbeard.databases.mainDB import MAX_DB_VERSION @@ -390,7 +391,7 @@ def main(): # autoreload. if sickbeard.AUTO_UPDATE: tornado.autoreload.start(io_loop) - tornado.autoreload.add_reload_hook(sickbeard.autoreload_shutdown) + tornado.autoreload.add_reload_hook(autoreload_shutdown) # start IOLoop. io_loop.start()