Listening now correctly works

This commit is contained in:
Jaime van Kessel 2015-03-31 11:27:44 +02:00
parent 3fa02d3710
commit bd651c6bcb
4 changed files with 14 additions and 16 deletions

View file

@ -17,8 +17,8 @@ class USBPrinterManager(SignalEmitter,PluginObject):
self._check_ports_thread = threading.Thread(target=self._updateConnectionList)
self._check_ports_thread.daemon = True
self._check_ports_thread.start()
time.sleep(2)
self.connectAllConnections()
#time.sleep(2)
#self.connectAllConnections()
## Check all serial ports and create a PrinterConnection object for them.
# Note that this does not validate if the serial ports are actually usable!