mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
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.
This commit is contained in:
parent
7d41c1dcb3
commit
ebb9507083
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue