mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-29 07:58:35 +01:00
...
This commit is contained in:
parent
6545602342
commit
15ec14ab52
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ def update_booklist(prefix, path, title, authors, mime, date, ContentType, Image
|
|||
changed = False
|
||||
for i, row in enumerate(cursor):
|
||||
# self.report_progress((i+1) / float(numrows), _('Getting list of books on device...'))
|
||||
if row[3].startswith("file:///usr/local/Kobo/help/"):
|
||||
if not hasattr(row[3], 'startswith') or row[3].startswith("file:///usr/local/Kobo/help/"):
|
||||
# These are internal to the Kobo device and do not exist
|
||||
continue
|
||||
path = self.path_from_contentid(row[3], row[5], row[4], oncard)
|
||||
|
|
|
|||
Loading…
Reference in a new issue