mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00
Write list creation as literal
Contributes to issue CURA-844.
This commit is contained in:
parent
2de811accf
commit
fbffff4c8d
1 changed files with 7 additions and 6 deletions
|
@ -66,12 +66,13 @@ class MachineInstance:
|
|||
config.set("general", "type", self._type_name)
|
||||
config.set("general", "version", "2") # Hard-code version 2, since if this number changes the programmer MUST change this entire function.
|
||||
|
||||
containers = []
|
||||
containers.append(self._name + "_current_settings")
|
||||
containers.append("empty") #The dependencies of the active profile, material and variant changed, so there is no 1:1 relation possible here.
|
||||
containers.append("empty")
|
||||
containers.append("empty")
|
||||
containers.append(self._type_name)
|
||||
containers = [
|
||||
self._name + "_current_settings",
|
||||
"empty", #The dependencies of the active profile, material and variant changed, so there is no 1:1 relation possible here.
|
||||
"empty",
|
||||
"empty",
|
||||
self._type_name
|
||||
]
|
||||
config.set("general", "containers", ",".join(containers))
|
||||
|
||||
config.add_section("metadata")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue