diff options
author | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-06-17 12:43:23 +0300 |
---|---|---|
committer | Thomas Karl Pietrowski <thopiekar@googlemail.com> | 2016-06-17 12:43:23 +0300 |
commit | 200529e8c93aed813b211d394775fe0907d6d6dd (patch) | |
tree | b523fb0b90525ca3d367c4aeab97a1740d124f72 /plugins/GCodeProfileReader | |
parent | 65f2afeebdd06248715fbb9bf155934bcd3bb102 (diff) |
Removing setReadOnly(False)
The profile is writable by default.
Diffstat (limited to 'plugins/GCodeProfileReader')
-rw-r--r-- | plugins/GCodeProfileReader/GCodeProfileReader.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/GCodeProfileReader/GCodeProfileReader.py b/plugins/GCodeProfileReader/GCodeProfileReader.py index a9d59e9d96..3cff7167b5 100644 --- a/plugins/GCodeProfileReader/GCodeProfileReader.py +++ b/plugins/GCodeProfileReader/GCodeProfileReader.py @@ -76,7 +76,6 @@ class GCodeProfileReader(ProfileReader): profile.addMetaDataEntry("type", "quality") try: profile.deserialize(serialized) - profile.setReadOnly(False) except Exception as e: # Not a valid g-code file. Logger.log("e", "Unable to serialise the profile: %s", str(e)) return None |