dont barf when used by old GUI.

This commit is contained in:
Kovid Goyal 2007-08-17 06:25:24 +00:00
parent d1e7a870e8
commit 4d7101c591

View File

@ -278,7 +278,7 @@ class BookList(_BookList):
book.datetime = ctime
self.append(book)
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'])