mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 12:24:00 +02:00
...
This commit is contained in:
parent
3e2161df68
commit
c03fad6f5d
1 changed files with 1 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ def device_info(self):
|
|||
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…
Reference in a new issue