From d0cc9ba8a6494618e6b1d4ec6e03f059fd4a0995 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 26 Feb 2018 09:42:29 +0100 Subject: [PATCH] Remove debugging prints --- plugins/PostProcessingPlugin/scripts/PauseAtHeight.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py index 1414593040..3367f85a77 100644 --- a/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py +++ b/plugins/PostProcessingPlugin/scripts/PauseAtHeight.py @@ -174,15 +174,12 @@ class PauseAtHeight(Script): if not line.startswith(";LAYER:"): continue current_layer = line[len(";LAYER:"):] - print("----------current_layer:", current_layer) try: current_layer = int(current_layer) except ValueError: #Couldn't cast to int. Something is wrong with this g-code data. - print("----------couldn't cast to int") continue if current_layer < pause_layer: break #Try the next layer. - print("------------hit! Got it!") prevLayer = data[index - 1] prevLines = prevLayer.split("\n")