From 529617bc06a9869eab3897bfbbf804a96a26e284 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 25 Aug 2015 14:44:50 +0200 Subject: [PATCH] Removed state check that broke connection for printrbot --- plugins/USBPrinting/PrinterConnection.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/plugins/USBPrinting/PrinterConnection.py b/plugins/USBPrinting/PrinterConnection.py index 3ddd3ea763..c599cfdf1d 100644 --- a/plugins/USBPrinting/PrinterConnection.py +++ b/plugins/USBPrinting/PrinterConnection.py @@ -262,11 +262,6 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): except Exception as e: Logger.log("i", "Could not establish connection on %s, unknown reasons. Device is not arduino based." % self._serial_port) - if not self._serial: - self._is_connecting = False - Logger.log("i", "Could not establish connection on %s, unknown reasons.", self._serial_port) - return - # If the programmer connected, we know its an atmega based version. Not all that usefull, but it does give some debugging information. for baud_rate in self._getBaudrateList(): # Cycle all baud rates (auto detect) if self._serial is None: