From a6f22fd9cc058ebf4f7c99e715d2a182ddba2e0a Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Fri, 2 Mar 2018 16:10:59 +0100 Subject: [PATCH] Remove unnecessary comments --- cura/PrintInformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrintInformation.py b/cura/PrintInformation.py index 50d80e11bb..fe30db08b3 100644 --- a/cura/PrintInformation.py +++ b/cura/PrintInformation.py @@ -214,7 +214,7 @@ class PrintInformation(QObject): extruder_stacks = global_stack.extruders for position, extruder_stack in extruder_stacks.keys(): index = int(position) - if index >= len(self._material_amounts): # Right now the _material_amounts is a list, where the index is the extruder number + if index >= len(self._material_amounts): continue amount = self._material_amounts[index] ## Find the right extruder stack. As the list isn't sorted because it's a annoying generator, we do some