Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhostkeeper <rubend@tutanota.com>2018-09-27 14:27:42 +0300
committerGhostkeeper <rubend@tutanota.com>2018-09-27 14:27:42 +0300
commit88ba2ac3451834db5a11169214d410c8aa3f726d (patch)
tree7685d77e1285db13ffcb21f4a1d2f85cf65aedad /plugins/GCodeReader
parent80804b232fd4be9f7577261272ff6b5baf10c41e (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-xplugins/GCodeReader/GCodeReader.py3
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"]
)
)