diff options
author | fieldOfView <aldo@fieldofview.com> | 2016-06-23 11:18:27 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2016-06-23 11:18:27 +0300 |
commit | 7c606b21b5a5da0b2cb0e485f173227bd5a551bb (patch) | |
tree | 3e9a94e0f076d1e35eb24c6102963c77097bad3e /plugins/GCodeProfileReader | |
parent | 097bcad427eb5afb6ed9f4a9ed10c8ba0fd50060 (diff) |
Remove some trailing spaces
CURA-1615
Diffstat (limited to 'plugins/GCodeProfileReader')
-rw-r--r-- | plugins/GCodeProfileReader/GCodeProfileReader.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/GCodeProfileReader/GCodeProfileReader.py b/plugins/GCodeProfileReader/GCodeProfileReader.py index 89046bcecf..5dcea88aed 100644 --- a/plugins/GCodeProfileReader/GCodeProfileReader.py +++ b/plugins/GCodeProfileReader/GCodeProfileReader.py @@ -23,7 +23,7 @@ class GCodeProfileReader(ProfileReader): # written with. If the file format is changed in a way that breaks reverse # compatibility, increment this version number! version = 1 - + ## Dictionary that defines how characters are escaped when embedded in # g-code. # @@ -65,7 +65,7 @@ class GCodeProfileReader(ProfileReader): except IOError as e: Logger.log("e", "Unable to open file %s for reading: %s", file_name, str(e)) return None - + # Un-escape the serialized profile. pattern = re.compile("|".join(GCodeProfileReader.escape_characters.keys())) @@ -81,10 +81,10 @@ class GCodeProfileReader(ProfileReader): except Exception as e: # Not a valid g-code file. Logger.log("e", "Unable to serialise the profile: %s", str(e)) return None - - #Creating a unique name using the filename of the GCode + + #Creating a unique name using the filename of the GCode new_name = catalog.i18nc("@label", "Custom profile (%s)") %(os.path.splitext(os.path.basename(file_name))[0]) profile.setName(new_name) profile._id = new_name - + return profile |