mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Updated UX of detected printers
CURA-336
This commit is contained in:
parent
0cee5b78df
commit
e94f94767e
2 changed files with 56 additions and 16 deletions
|
|
@ -27,6 +27,6 @@ class DiscoverUM3Action(MachineAction):
|
|||
def foundDevices(self):
|
||||
if self._network_plugin:
|
||||
printers = self._network_plugin.getPrinters()
|
||||
return([printers[printer].getProperties().get(b"name").decode("utf-8") for printer in printers])
|
||||
return [printers[printer].getProperties().get(b"name").decode("utf-8") for printer in printers]
|
||||
else:
|
||||
return []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue