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:
David 2019-04-11 22:22:10 +10:00
parent 795bd06ee9
commit 7330bfdebb
2 changed files with 2 additions and 2 deletions

View File

@ -258,7 +258,7 @@ class KINDLE(USBMS):
typ=user_notes[location]['type']))
for annotation in annotations:
annot = BeautifulSoup('<span>' + annotations + '</span>').find('span')
annot = BeautifulSoup('<span>' + annotation + '</span>').find('span')
divTag.insert(dtc, annot)
dtc += 1

View File

@ -1292,7 +1292,7 @@ class KOBO(USBMS):
annotation=user_notes[location]['annotation']))
for annotation in annotations:
annot = BeautifulSoup('<span>' + annotations + '</span>').find('span')
annot = BeautifulSoup('<span>' + annotation + '</span>').find('span')
divTag.insert(dtc, annot)
dtc += 1