mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
GCodeProfileReader: Removing useless containername
This commit is contained in:
parent
1dc29fb984
commit
688accfab7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
return profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue