mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-02-13 06:54:17 -05:00
...
This commit is contained in:
parent
3e2161df68
commit
c03fad6f5d
@ -64,6 +64,7 @@ class UserDefinedDevice(QDialog):
|
||||
res = ''
|
||||
if len(new_devices) == 1:
|
||||
def fmtid(x):
|
||||
x = x or 0
|
||||
if isinstance(x, numbers.Integral):
|
||||
x = hex(x)
|
||||
if not x.startswith('0x'):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user