mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05:00
Fix for autoreload issues
This commit is contained in:
parent
2ac1c5fdd5
commit
09297b853b
@ -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 New Issue
Block a user