diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2018-09-28 13:33:16 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2018-09-28 13:33:16 +0300 |
commit | 3a01b63343668781cfcbb2bec84e8ec8d68d19b9 (patch) | |
tree | 106d4da9790a2f45215d959b0992bc3249a1e352 /cura/Backups | |
parent | 6e467721700ce3aa79f55cf4bcf364d40aba5da6 (diff) |
Fix refactor and tests
Diffstat (limited to 'cura/Backups')
-rw-r--r-- | cura/Backups/BackupsManager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/Backups/BackupsManager.py b/cura/Backups/BackupsManager.py index a4d8528960..6dfb4ae8bd 100644 --- a/cura/Backups/BackupsManager.py +++ b/cura/Backups/BackupsManager.py @@ -23,7 +23,7 @@ class BackupsManager: # containing some metadata (like version). def createBackup(self) -> Tuple[Optional[bytes], Optional[Dict[str, str]]]: self._disableAutoSave() - backup = Backup() + backup = Backup(self._application) backup.makeFromCurrent() self._enableAutoSave() # We don't return a Backup here because we want plugins only to interact with our API and not full objects. |