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:
authorJack Ha <jackha@gmail.com>2018-03-22 16:35:21 +0300
committerJack Ha <jackha@gmail.com>2018-03-22 16:35:21 +0300
commitc2888529cbd1036ca28b0c6fc22b42d3892702ab (patch)
treef99f2a9737867ce09de96331414bb100846ccc37 /plugins/GCodeGzReader
parenta0badf121a55de25e58b21b122502e5b260028f4 (diff)
CURA-5128 cleanup .gz and only leave .gcode.gz as Cura and Uranium now accept extensions with multiple periods
Diffstat (limited to 'plugins/GCodeGzReader')
-rw-r--r--plugins/GCodeGzReader/GCodeGzReader.py2
-rw-r--r--plugins/GCodeGzReader/__init__.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/plugins/GCodeGzReader/GCodeGzReader.py b/plugins/GCodeGzReader/GCodeGzReader.py
index df1b8439cd..52df7f074f 100644
--- a/plugins/GCodeGzReader/GCodeGzReader.py
+++ b/plugins/GCodeGzReader/GCodeGzReader.py
@@ -19,7 +19,7 @@ class GCodeGzReader(MeshReader):
def __init__(self):
super(GCodeGzReader, self).__init__()
- self._supported_extensions = [".gcode.gz", ".gz"]
+ self._supported_extensions = [".gcode.gz"]
def read(self, file_name):
with open(file_name, "rb") as file:
diff --git a/plugins/GCodeGzReader/__init__.py b/plugins/GCodeGzReader/__init__.py
index d1f3cf34b1..67424a7d45 100644
--- a/plugins/GCodeGzReader/__init__.py
+++ b/plugins/GCodeGzReader/__init__.py
@@ -18,5 +18,4 @@ def getMetaData():
def register(app):
app.addNonSliceableExtension(".gcode.gz")
- app.addNonSliceableExtension(".gz") # in some parts only the last extension is taken. Let's make it a non sliceable extension for now
return { "mesh_reader": GCodeGzReader.GCodeGzReader() }