mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 15:13:56 -06:00
Minor refactor to make code more readable
CURA-336
This commit is contained in:
parent
804ff66c9a
commit
5e51d4d998
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue