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.
This commit is contained in:
Ghostkeeper 2016-08-24 11:21:45 +02:00
parent a177b61153
commit b836311d67
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

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