mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix crash when attempting to restore backup
CURA-6005
This commit is contained in:
parent
b4911478e3
commit
c10b8b5c3f
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class DriveApiService:
|
|||
|
||||
# Tell Cura to place the backup back in the user data folder.
|
||||
with open(temporary_backup_file.name, "rb") as read_backup:
|
||||
self._cura_api.backups.restoreBackup(read_backup.read(), backup.get("data"))
|
||||
self._cura_api.backups.restoreBackup(read_backup.read(), backup.get("metadata", {}))
|
||||
self.restoringStateChanged.emit(is_restoring = False)
|
||||
|
||||
def _emitRestoreError(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue