sigh, the "3" key of my keyboard is slightly broken... Also, I forgot
the quotes around two parameter values:

device = lp.hwdb.devices(bus='USB', vendor_id='0x1234',
product_id='0x5678')[0]

is better. USB IDs must be specfied as hex number, prefixed with '0x'

-- 
[needs-packaging] iscan
https://bugs.launchpad.net/bugs/208405
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to