diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-03-23 19:15:55 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-03-23 19:15:55 +0300 |
commit | bc5881fe1dd1bcbbc5738081634baa147a3b1ff9 (patch) | |
tree | 3a223230d9cca5143fe9bce879ae9189ddd3e0c9 /plugins/GCodeGzReader | |
parent | dd0d0d20e9d692b87ade5293ad32c7e2177d6a70 (diff) | |
parent | de20d23df6fa5dcf5b40edd0a1498aa13fcd2463 (diff) |
Merge branch 'master' into feature_gz_reader
Diffstat (limited to 'plugins/GCodeGzReader')
-rw-r--r-- | plugins/GCodeGzReader/GCodeGzReader.py | 4 | ||||
-rw-r--r-- | plugins/GCodeGzReader/__init__.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/GCodeGzReader/GCodeGzReader.py b/plugins/GCodeGzReader/GCodeGzReader.py index 5736fd2fec..0843f8f3c0 100644 --- a/plugins/GCodeGzReader/GCodeGzReader.py +++ b/plugins/GCodeGzReader/GCodeGzReader.py @@ -8,13 +8,13 @@ from io import TextIOWrapper from UM.Mesh.MeshReader import MeshReader #The class we're extending/implementing. from UM.PluginRegistry import PluginRegistry -## A file writer that writes gzipped g-code. +## A file reader that reads gzipped g-code. # # If you're zipping g-code, you might as well use gzip! class GCodeGzReader(MeshReader): def __init__(self): - super(GCodeGzReader, self).__init__() + super().__init__() self._supported_extensions = [".gcode.gz"] def read(self, file_name): diff --git a/plugins/GCodeGzReader/__init__.py b/plugins/GCodeGzReader/__init__.py index 67424a7d45..98965c00aa 100644 --- a/plugins/GCodeGzReader/__init__.py +++ b/plugins/GCodeGzReader/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016 Aleph Objects, Inc. +# Copyright (c) 2018 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. from . import GCodeGzReader |