Browse Source

Update plugins/GCodeReader/FlavorParser.py

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
Ole Kröger 3 years ago
parent
commit
893da1ed38
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/GCodeReader/FlavorParser.py

+ 1 - 1
plugins/GCodeReader/FlavorParser.py

@@ -355,7 +355,7 @@ class FlavorParser:
 
         Logger.log("d", "Parsing g-code...")
 
-        current_position = Position(0, 0, 0, 0, [0,0,0,0])
+        current_position = Position(0, 0, 0, 0, [0] * 8)
         current_path = [] #type: List[List[float]]
         min_layer_number = 0
         negative_layers = 0