From 0ff94c6150ac6bcfb1c03677fd438e51f27887dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=B6ger?= Date: Thu, 3 Mar 2022 11:03:28 +0100 Subject: [PATCH] Update plugins/GCodeReader/FlavorParser.py Co-authored-by: Jaime van Kessel --- plugins/GCodeReader/FlavorParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/GCodeReader/FlavorParser.py b/plugins/GCodeReader/FlavorParser.py index 428d9739b0..147718449a 100644 --- a/plugins/GCodeReader/FlavorParser.py +++ b/plugins/GCodeReader/FlavorParser.py @@ -53,7 +53,7 @@ class FlavorParser: def _clearValues(self) -> None: self._extruder_number = 0 - self._extrusion_length_offset = [0,0,0,0] # type: List[float] + self._extrusion_length_offset = [0] * 8 # type: List[float] self._layer_type = LayerPolygon.Inset0Type self._layer_number = 0 self._previous_z = 0 # type: float