summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xaddons/hw_drivers/controllers/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/hw_drivers/controllers/driver.py b/addons/hw_drivers/controllers/driver.py
index bb62f7fd91c..e0c73978cfb 100755
--- a/addons/hw_drivers/controllers/driver.py
+++ b/addons/hw_drivers/controllers/driver.py
@@ -397,7 +397,7 @@ class Manager(Thread):
printer_devices = {}
with cups_lock:
devices = conn.getDevices()
- for path in [printer_lo for printer_lo in devices if devices[printer_lo]['device-make-and-model'] != 'Unknown']:
+ for path in devices:
if 'uuid=' in path:
serial = sub('[^a-zA-Z0-9 ]+', '', path.split('uuid=')[1])
elif 'serial=' in path: