Use the same id as set when exporting

Nothing special. Doesn't fix anything..
This commit is contained in:
Thomas Karl Pietrowski 2016-06-17 11:36:39 +02:00
parent 29f7c240c4
commit 65f2afeebd

View file

@ -72,7 +72,7 @@ class GCodeProfileReader(ProfileReader):
Logger.log("i", "Serialized the following from %s: %s" %(file_name, repr(serialized)))
# Create an empty profile with the name of the G-code file
profile = InstanceContainer(os.path.basename(os.path.splitext(file_name)[0]))
profile = InstanceContainer("G-code-imported-profile")
profile.addMetaDataEntry("type", "quality")
try:
profile.deserialize(serialized)