diff --git a/SkeinPyPy_NewUI/newui/gcodeInterpreter.py b/SkeinPyPy_NewUI/newui/gcodeInterpreter.py index f9f4ed74..acea228a 100644 --- a/SkeinPyPy_NewUI/newui/gcodeInterpreter.py +++ b/SkeinPyPy_NewUI/newui/gcodeInterpreter.py @@ -137,7 +137,7 @@ class gcode(): print "Unknown M code:" + str(M) self.layerCount = layerNr self.pathList = pathList - self.extrusionAmount = extrusionAmount + self.extrusionAmount = maxExtrusion print "Extruded a total of: %d mm of filament" % (self.extrusionAmount) def getCodeInt(self, str, id):