Fix problem with very slow gcode sending

CURA-4850
This commit is contained in:
Simon Edwards 2018-01-22 15:08:54 +01:00
parent 4c474c9619
commit 172b4e57a4

View file

@ -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: