Reschedule tasks after changing backup interval

* Fixes #1662
This commit is contained in:
JonnyWong16 2022-02-19 16:37:03 -08:00
parent 3c48ea49f3
commit d657a609ff
No known key found for this signature in database
GPG key ID: B1F1F9807184697A

View file

@ -3205,7 +3205,8 @@ class WebInterface(object):
kwargs.get('refresh_users_interval') != str(plexpy.CONFIG.REFRESH_USERS_INTERVAL) or \
kwargs.get('pms_update_check_interval') != str(plexpy.CONFIG.PMS_UPDATE_CHECK_INTERVAL) or \
kwargs.get('monitor_pms_updates') != plexpy.CONFIG.MONITOR_PMS_UPDATES or \
kwargs.get('pms_url_manual') != plexpy.CONFIG.PMS_URL_MANUAL:
kwargs.get('pms_url_manual') != plexpy.CONFIG.PMS_URL_MANUAL or \
kwargs.get('backup_interval') != str(plexpy.CONFIG.BACKUP_INTERVAL):
reschedule = True
# If we change the SSL setting for PMS or PMS remote setting, make sure we grab the new url.