From 8fefa63c8ccd8c54ee8494c76d766d26c6f25f04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Fri, 8 Nov 2019 15:15:20 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20whitespace=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/util/gcodeInterpreter.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/octoprint/util/gcodeInterpreter.py b/src/octoprint/util/gcodeInterpreter.py index b16794ee0..616452af0 100644 --- a/src/octoprint/util/gcodeInterpreter.py +++ b/src/octoprint/util/gcodeInterpreter.py @@ -364,11 +364,10 @@ class gcode(object): if currentExtruder == 0 and len(currentE) > 1 and duplicationMode: # Copy first extruder length to other extruders - for i in range(1, len(currentE)): + for i in range(1, len(currentE)): totalExtrusion[i] += e currentE[i] += e - maxExtrusion[i] = max(maxExtrusion[i], - totalExtrusion[i]) + maxExtrusion[i] = max(maxExtrusion[i], totalExtrusion[i]) else: e = 0.0