This commit is contained in:
Kovid Goyal 2012-07-23 21:31:18 +05:30
parent 9015213161
commit 65103e0ac1

View File

@ -376,6 +376,8 @@ class PRST1(USBMS):
# Record what the max id being used is as well. # Record what the max id being used is as well.
db_books = {} db_books = {}
for i, row in enumerate(cursor): for i, row in enumerate(cursor):
if row is None:
continue
lpath = row[0].replace('\\', '/') lpath = row[0].replace('\\', '/')
db_books[lpath] = row[1] db_books[lpath] = row[1]
if row[1] < sequence_min: if row[1] < sequence_min: