mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add button to debug device detection to Preferences->Advanced
This commit is contained in:
parent
283e18c0bc
commit
0c3e0bc821
@ -46,7 +46,7 @@ def debug():
|
|||||||
devices = [list(x) for x in devices]
|
devices = [list(x) for x in devices]
|
||||||
for d in devices:
|
for d in devices:
|
||||||
for i in range(3):
|
for i in range(3):
|
||||||
d[i] = hex(i)
|
d[i] = hex(d[i])
|
||||||
out('USB devices on system:')
|
out('USB devices on system:')
|
||||||
out(pprint.pformat(devices))
|
out(pprint.pformat(devices))
|
||||||
if iswindows:
|
if iswindows:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user