Fix auto-update not running

This commit is contained in:
JonnyWong16 2024-09-23 16:52:17 -07:00
parent 921a3a0af9
commit 9ca8d59372
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -281,7 +281,7 @@ def check_github(scheduler=False, notify=False, use_cache=False):
'plexpy_update_commit': plexpy.LATEST_VERSION,
'plexpy_update_behind': plexpy.COMMITS_BEHIND})
elif scheduler and plexpy.CONFIG.PLEXPY_AUTO_UPDATE and \
if scheduler and plexpy.CONFIG.PLEXPY_AUTO_UPDATE and \
not plexpy.DOCKER and not plexpy.SNAP and not plexpy.FROZEN:
logger.info('Running automatic update.')
plexpy.shutdown(restart=True, update=True)