mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Fix for autoreload issues
This commit is contained in:
parent
2ac1c5fdd5
commit
09297b853b
1 changed files with 2 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue