mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-02 15:17:35 +01:00
Fix all_annotations_for_book()
This commit is contained in:
parent
27fb4dd37e
commit
18cc641ea9
1 changed files with 1 additions and 1 deletions
|
|
@ -1847,7 +1847,7 @@ def search_annotations(self,
|
|||
|
||||
def all_annotations_for_book(self, book_id, ignore_removed=False):
|
||||
for (fmt, user_type, user, data) in self.execute(
|
||||
'SELECT id, book, format, user_type, user, annot_data FROM annotations WHERE book=?', (book_id,)
|
||||
'SELECT format, user_type, user, annot_data FROM annotations WHERE book=?', (book_id,)
|
||||
):
|
||||
try:
|
||||
annot = json.loads(data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue