Fix drives being reversed for softrooted nook

This commit is contained in:
Kovid Goyal 2010-08-07 16:20:29 -06:00
parent 301db9fa42
commit d0a6031460

View file

@ -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