mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 16:25:52 +08:00
Minor refactor to make code more readable
CURA-336
This commit is contained in:
parent
804ff66c9a
commit
5e51d4d998
@ -30,7 +30,7 @@ class DiscoverUM3Action(MachineAction):
|
||||
def foundDevices(self):
|
||||
if self._network_plugin:
|
||||
printers = self._network_plugin.getPrinters()
|
||||
return [printers[printer] for printer in printers]
|
||||
return list(printers.values())
|
||||
else:
|
||||
return []
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user