Fix comment

It had some variable name pasted into it by accident.

Contributes to issue CURA-936.
This commit is contained in:
Ghostkeeper 2016-03-02 17:31:28 +01:00
parent 2ca2581915
commit 7a913bf99a

View file

@ -69,7 +69,7 @@ class GCodeProfileReader(ProfileReader):
profile.setType(None) #Force type to none so it's correctly added.
profile.setReadOnly(False)
profile.setDirty(True)
except Exception as e: #Not a valid g-comachine_instance_profilede file.
except Exception as e: #Not a valid g-code file.
Logger.log("e", "Unable to serialise the profile: %s", str(e))
return None
return profile