Meta data of the printer is now also visible

CURA-336
This commit is contained in:
Jaime van Kessel 2016-06-23 15:46:12 +02:00
parent 01eb65f303
commit 3b51c31772
3 changed files with 74 additions and 3 deletions

View file

@ -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] for printer in printers]
else:
return []