diff options
author | Ghostkeeper <rubend@tutanota.com> | 2018-09-27 14:27:42 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2018-09-27 14:27:42 +0300 |
commit | 88ba2ac3451834db5a11169214d410c8aa3f726d (patch) | |
tree | 7685d77e1285db13ffcb21f4a1d2f85cf65aedad /plugins/GCodeReader | |
parent | 80804b232fd4be9f7577261272ff6b5baf10c41e (diff) |
Define gcode.gz extension in GCodeGzReader
So if you were to disable the GCodeGzReader plug-in, you will now no longer see the extension in the files you can read.
Fixes #4151.
Diffstat (limited to 'plugins/GCodeReader')
-rwxr-xr-x | plugins/GCodeReader/GCodeReader.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/GCodeReader/GCodeReader.py b/plugins/GCodeReader/GCodeReader.py index 45ef1e1058..498c425f68 100755 --- a/plugins/GCodeReader/GCodeReader.py +++ b/plugins/GCodeReader/GCodeReader.py @@ -1,4 +1,5 @@ # Copyright (c) 2017 Aleph Objects, Inc. +# Copyright (c) 2018 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. from UM.FileHandler.FileReader import FileReader @@ -15,7 +16,7 @@ MimeTypeDatabase.addMimeType( MimeType( name = "application/x-cura-gcode-file", comment = "Cura GCode File", - suffixes = ["gcode", "gcode.gz"] + suffixes = ["gcode"] ) ) |