Another debug print

This commit is contained in:
Kovid Goyal 2016-01-19 09:19:16 +05:30
parent a11b260008
commit c015a92e0c

View File

@ -222,6 +222,8 @@ class Device(DeviceConfig, DevicePlugin):
'USBDevice', 'vendor_id product_id bcd manufacturer product serial')( 'USBDevice', 'vendor_id product_id bcd manufacturer product serial')(
usbdevice.vendor_id, usbdevice.product_id, usbdevice.bcd, usbdevice.vendor_id, usbdevice.product_id, usbdevice.bcd,
data.get('manufacturer') or '', data.get('product') or '', data.get('serial_number') or '') data.get('manufacturer') or '', data.get('product') or '', data.get('serial_number') or '')
if debug:
prints('USB Info for device: {}'.format(dev))
return self.can_handle(dev, debug=debug) return self.can_handle(dev, debug=debug)
def open_windows(self): def open_windows(self):