From 688accfab7d4fff9ab15a57114445d89ae69c230 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Wed, 22 Jun 2016 23:25:04 +0200 Subject: [PATCH] GCodeProfileReader: Removing useless containername --- plugins/GCodeProfileReader/GCodeProfileReader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GCodeProfileReader/GCodeProfileReader.py b/plugins/GCodeProfileReader/GCodeProfileReader.py index 8b8809df57..89046bcecf 100644 --- a/plugins/GCodeProfileReader/GCodeProfileReader.py +++ b/plugins/GCodeProfileReader/GCodeProfileReader.py @@ -74,7 +74,7 @@ class GCodeProfileReader(ProfileReader): Logger.log("i", "Serialized the following from %s: %s" %(file_name, repr(serialized))) # Create an empty profile - the id will be changed later - profile = InstanceContainer("G-code-imported-profile") + profile = InstanceContainer("") profile.addMetaDataEntry("type", "quality") try: profile.deserialize(serialized) @@ -87,4 +87,4 @@ class GCodeProfileReader(ProfileReader): profile.setName(new_name) profile._id = new_name - return profile \ No newline at end of file + return profile