mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-21 20:35:05 +00:00
Merge branch 'hotfix/3.32.9'
This commit is contained in:
commit
f91ceb5e4b
1 changed files with 5 additions and 5 deletions
|
@ -2479,11 +2479,11 @@ def _save_config(force=False, **kwargs):
|
||||||
for _t in range(0, 3):
|
for _t in range(0, 3):
|
||||||
copy_file(CONFIG_FILE, backup_config)
|
copy_file(CONFIG_FILE, backup_config)
|
||||||
if not check_valid_config(backup_config):
|
if not check_valid_config(backup_config):
|
||||||
if 2 > _t:
|
if 2 > _t:
|
||||||
logger.debug('backup config file seems to be invalid, retrying...')
|
logger.debug('backup config file seems to be invalid, retrying...')
|
||||||
else:
|
else:
|
||||||
logger.warning('backup config file seems to be invalid, not backing up.')
|
logger.warning('backup config file seems to be invalid, not backing up.')
|
||||||
backup_config = None
|
backup_config = None
|
||||||
remove_file_perm(backup_config)
|
remove_file_perm(backup_config)
|
||||||
2 > _t and time.sleep(3)
|
2 > _t and time.sleep(3)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue