mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9d7907fc29
commit
352ea86428
@ -57,7 +57,7 @@ class WinPNPScanner(object):
|
|||||||
order = 0
|
order = 0
|
||||||
match = re.search(r'REV_.*?&(\d+)', pnp_id)
|
match = re.search(r'REV_.*?&(\d+)', pnp_id)
|
||||||
if match is not None:
|
if match is not None:
|
||||||
order = int(pnp_id)
|
order = int(match.group(1))
|
||||||
return order
|
return order
|
||||||
|
|
||||||
def __call__(self, debug=False):
|
def __call__(self, debug=False):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user