mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +08:00
Remove the check for connected printers
Not doing anything at all is actually worse because it looks like it is broken. Contributes to Ultimaker/Uranium#8
This commit is contained in:
parent
ff896907ea
commit
9aa386c2b0
@ -119,10 +119,6 @@ class USBPrinterManager(QObject, SignalEmitter, Extension):
|
|||||||
time.sleep(5) # Throttle, as we don"t need this information to be updated every single second.
|
time.sleep(5) # Throttle, as we don"t need this information to be updated every single second.
|
||||||
|
|
||||||
def updateAllFirmware(self):
|
def updateAllFirmware(self):
|
||||||
if not self._printer_connections:
|
|
||||||
Logger.log("e", "No printer connected to update firmware of!")
|
|
||||||
return
|
|
||||||
|
|
||||||
self.spawnFirmwareInterface("")
|
self.spawnFirmwareInterface("")
|
||||||
for printer_connection in self._printer_connections:
|
for printer_connection in self._printer_connections:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user