From 31a3124e45f0cf621f1edce527548179362bbd4e Mon Sep 17 00:00:00 2001 From: mpbomil Date: Tue, 13 Oct 2015 13:54:28 +0200 Subject: [PATCH] Typo's in PrinterConnection.py Some of the "threading.Thread.daemon"s have typo's. --- plugins/USBPrinting/PrinterConnection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/USBPrinting/PrinterConnection.py b/plugins/USBPrinting/PrinterConnection.py index 323452b67c..4192749f76 100644 --- a/plugins/USBPrinting/PrinterConnection.py +++ b/plugins/USBPrinting/PrinterConnection.py @@ -45,7 +45,7 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): self._connect_thread.daemon = True self._end_stop_thread = threading.Thread(target = self._pollEndStop) - self._end_stop_thread.deamon = True + self._end_stop_thread.daemon = True # Printer is connected self._is_connected = False @@ -63,7 +63,7 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): self._listen_thread.daemon = True self._update_firmware_thread = threading.Thread(target= self._updateFirmware) - self._update_firmware_thread.deamon = True + self._update_firmware_thread.daemon = True self._heatup_wait_start_time = time.time() @@ -619,6 +619,6 @@ class PrinterConnection(OutputDevice, QObject, SignalEmitter): def _onFirmwareUpdateComplete(self): self._update_firmware_thread.join() self._update_firmware_thread = threading.Thread(target= self._updateFirmware) - self._update_firmware_thread.deamon = True + self._update_firmware_thread.daemon = True self.connect()