|
@@ -194,7 +194,10 @@ class Backup:
|
|
|
Resources.factoryReset()
|
|
|
Logger.log("d", "Extracting backup to location: %s", target_path)
|
|
|
try:
|
|
|
- archive.extractall(target_path)
|
|
|
+ name_list = archive.namelist()
|
|
|
+ for archive_filename in name_list:
|
|
|
+ archive.extract(archive_filename, target_path)
|
|
|
+ CuraApplication.getInstance().processEvents()
|
|
|
except (PermissionError, EnvironmentError):
|
|
|
Logger.logException("e", "Unable to extract the backup due to permission or file system errors.")
|
|
|
return False
|