We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba5c669 commit d6a87abCopy full SHA for d6a87ab
installation_and_upgrade/ibex_install_utils/tasks/backup_tasks.py
@@ -116,10 +116,8 @@ def backup_checker(self) -> None:
116
#The backup might be in the zip files instead of folders
117
backup_zip_file = os.path.join(path_to_backup + ".zip")
118
if os.path.exists(backup_zip_file):
119
- #Extract the file name without extension.
120
- backup_file_name = os.path.basename(path_to_backup)
121
with zipfile.ZipFile(backup_zip_file, 'r') as backup_ref:
122
- if not file_to_check in backup_ref.namelist():
+ if file_to_check not in backup_ref.namelist():
123
backup_zip_exists = False
124
else:
125
0 commit comments