mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 18:33:36 +02:00
Fix drives being reversed for softrooted nook
This commit is contained in:
parent
301db9fa42
commit
d0a6031460
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ def drive_is_ok(self, letter, debug=False):
|
|||
|
||||
def drive_order(self, pnp_id):
|
||||
order = 0
|
||||
match = re.search(r'REV_.*?&(\d+)', pnp_id)
|
||||
match = re.search(r'REV_.*?&(\d+)#', pnp_id)
|
||||
if match is not None:
|
||||
order = int(match.group(1))
|
||||
return order
|
||||
|
|
|
|||
Loading…
Reference in a new issue