mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix typo in BS4 changes for fetching annotations
I have only tested the Kobo version, but the Kindle is the same at this point.
This commit is contained in:
parent
795bd06ee9
commit
7330bfdebb
@ -258,7 +258,7 @@ class KINDLE(USBMS):
|
|||||||
typ=user_notes[location]['type']))
|
typ=user_notes[location]['type']))
|
||||||
|
|
||||||
for annotation in annotations:
|
for annotation in annotations:
|
||||||
annot = BeautifulSoup('<span>' + annotations + '</span>').find('span')
|
annot = BeautifulSoup('<span>' + annotation + '</span>').find('span')
|
||||||
divTag.insert(dtc, annot)
|
divTag.insert(dtc, annot)
|
||||||
dtc += 1
|
dtc += 1
|
||||||
|
|
||||||
|
@ -1292,7 +1292,7 @@ class KOBO(USBMS):
|
|||||||
annotation=user_notes[location]['annotation']))
|
annotation=user_notes[location]['annotation']))
|
||||||
|
|
||||||
for annotation in annotations:
|
for annotation in annotations:
|
||||||
annot = BeautifulSoup('<span>' + annotations + '</span>').find('span')
|
annot = BeautifulSoup('<span>' + annotation + '</span>').find('span')
|
||||||
divTag.insert(dtc, annot)
|
divTag.insert(dtc, annot)
|
||||||
dtc += 1
|
dtc += 1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user