Browse Source

Remove double type-metadata

One was in metadata. That is the correct one. The other is unnecessary and was being ignored, but we don't need to write it.

Contributes to issue CURA-844.
Ghostkeeper 8 years ago
parent
commit
b836311d67
1 changed files with 0 additions and 1 deletions
  1. 0 1
      plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py

+ 0 - 1
plugins/VersionUpgrade/VersionUpgrade21to22/MachineInstance.py

@@ -69,7 +69,6 @@ class MachineInstance:
         config.add_section("general")
         config.set("general", "name", self._name)
         config.set("general", "id", self._name)
-        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.
 
         import VersionUpgrade21to22 # Import here to prevent circular dependencies.