This commit is contained in:
Kovid Goyal 2012-11-28 12:05:22 +05:30
parent bcc5837be6
commit aeda34f4aa

View File

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