Don't shutdown for Windows installer update
This commit is contained in:
@@ -2278,9 +2278,11 @@ def upgrade():
|
|||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
def shutdown(restart=False, update=False, checkout=False, reset=False):
|
def shutdown(restart=False, update=False, checkout=False, reset=False,
|
||||||
|
_shutdown=True):
|
||||||
if FROZEN and common.PLATFORM == 'Windows' and update:
|
if FROZEN and common.PLATFORM == 'Windows' and update:
|
||||||
restart = False
|
restart = False
|
||||||
|
_shutdown = False
|
||||||
|
|
||||||
webstart.stop()
|
webstart.stop()
|
||||||
|
|
||||||
@@ -2354,6 +2356,7 @@ def shutdown(restart=False, update=False, checkout=False, reset=False):
|
|||||||
else:
|
else:
|
||||||
logger.info("Tautulli is shutting down...")
|
logger.info("Tautulli is shutting down...")
|
||||||
|
|
||||||
|
if _shutdown:
|
||||||
logger.shutdown()
|
logger.shutdown()
|
||||||
|
|
||||||
if WIN_SYS_TRAY_ICON:
|
if WIN_SYS_TRAY_ICON:
|
||||||
|
Reference in New Issue
Block a user