From ebb95070834d7946bb3aacc20fc52685a1791fe3 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 21 Sep 2016 17:29:08 +0200 Subject: [PATCH] Add extension to new file The upgrade plug-in can do this because he know that he's upgrading to version 2.3. Contributes to issue CURA-844. --- plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py index bd174bea43..71646b45f7 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py @@ -110,7 +110,7 @@ class MachineInstance: version_upgrade_manager = UM.VersionUpgradeManager.VersionUpgradeManager.getInstance() user_storage = os.path.join(UM.Resources.getDataStoragePath(), next(iter(version_upgrade_manager.getStoragePaths("user")))) - user_profile_file = os.path.join(user_storage, self._name + "_current_settings") + user_profile_file = os.path.join(user_storage, self._name + "_current_settings.inst.cfg") if not os.path.exists(user_storage): os.makedirs(user_storage) with open(user_profile_file, "w") as file_handle: