diff options
author | Jaime van Kessel <nallath@gmail.com> | 2015-08-25 15:44:50 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2015-08-25 15:44:50 +0300 |
commit | 529617bc06a9869eab3897bfbbf804a96a26e284 (patch) | |
tree | 8c5925cc0461ad55e64785f86516608623ea9163 /plugins/USBPrinting/PrinterConnection.py | |
parent | f92b4d72c7f6377d830647d84adeeee2964be0a5 (diff) |
Removed state check that broke connection for printrbot
Diffstat (limited to 'plugins/USBPrinting/PrinterConnection.py')
-rw-r--r-- | plugins/USBPrinting/PrinterConnection.py | 5 |
1 files changed, 0 insertions, 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: |