Fix indendation.

This commit is contained in:
JackDandy 2024-10-07 00:59:57 +01:00
parent c0e8505eca
commit f343765302

View file

@ -2479,11 +2479,11 @@ def _save_config(force=False, **kwargs):
for _t in range(0, 3):
copy_file(CONFIG_FILE, backup_config)
if not check_valid_config(backup_config):
if 2 > _t:
logger.debug('backup config file seems to be invalid, retrying...')
else:
logger.warning('backup config file seems to be invalid, not backing up.')
backup_config = None
if 2 > _t:
logger.debug('backup config file seems to be invalid, retrying...')
else:
logger.warning('backup config file seems to be invalid, not backing up.')
backup_config = None
remove_file_perm(backup_config)
2 > _t and time.sleep(3)
else: