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: