mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
dont barf when used by old GUI.
This commit is contained in:
parent
d1e7a870e8
commit
4d7101c591
@ -278,7 +278,7 @@ class BookList(_BookList):
|
|||||||
book.datetime = ctime
|
book.datetime = ctime
|
||||||
self.append(book)
|
self.append(book)
|
||||||
self.set_next_id(cid+1)
|
self.set_next_id(cid+1)
|
||||||
if self.prefix: # Playlists only supportted in main memory
|
if self.prefix and info.has_key('tags'): # Playlists only supportted in main memory
|
||||||
self.set_playlists(book.id, info['tags'])
|
self.set_playlists(book.id, info['tags'])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user