From 363cb49348255304e584b3fde38126bc8082811b Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Mon, 7 Oct 2024 02:06:24 +0200 Subject: [PATCH] fix IndentationError(s) --- sickgear/__init__.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sickgear/__init__.py b/sickgear/__init__.py index e079fa16..ad405d9d 100644 --- a/sickgear/__init__.py +++ b/sickgear/__init__.py @@ -2477,14 +2477,14 @@ def _save_config(force=False, **kwargs): try: if check_valid_config(CONFIG_FILE): 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 - remove_file_perm(backup_config) + 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 + remove_file_perm(backup_config) 2 > _t and time.sleep(3) else: break