mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
bcc5837be6
commit
aeda34f4aa
@ -380,7 +380,7 @@ 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[0] is None:
|
if not hasattr(row[0], 'replace'):
|
||||||
continue
|
continue
|
||||||
lpath = row[0].replace('\\', '/')
|
lpath = row[0].replace('\\', '/')
|
||||||
db_books[lpath] = row[1]
|
db_books[lpath] = row[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user