From 172b4e57a4eca8d353cb3a675637cfdd2d0d0ce3 Mon Sep 17 00:00:00 2001 From: Simon Edwards Date: Mon, 22 Jan 2018 15:08:54 +0100 Subject: [PATCH] Fix problem with very slow gcode sending CURA-4850 --- cura/PrinterOutput/NetworkedPrinterOutputDevice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrinterOutput/NetworkedPrinterOutputDevice.py b/cura/PrinterOutput/NetworkedPrinterOutputDevice.py index 7cf855ee85..a7b7edc636 100644 --- a/cura/PrinterOutput/NetworkedPrinterOutputDevice.py +++ b/cura/PrinterOutput/NetworkedPrinterOutputDevice.py @@ -100,7 +100,7 @@ class NetworkedPrinterOutputDevice(PrinterOutputDevice): if batched_lines_count >= max_chars_per_line: file_data_bytes_list.append(self._compressDataAndNotifyQt("".join(batched_lines))) batched_lines = [] - batched_lines_count + batched_lines_count = 0 # Don't miss the last batch (If any) if len(batched_lines) != 0: