mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:04:08 +02:00
...
This commit is contained in:
parent
1f33ebeffe
commit
2255ee80a8
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ def get_footnote_data(self, url):
|
|||
if fd is None:
|
||||
raw = self.document.javascript('window.calibre_extract.get_footnote_data()', typ='string')
|
||||
try:
|
||||
fd = frozenset(unicode(QUrl(x).toLocalFile()) for x in json.loads(raw))
|
||||
fd = frozenset(QUrl(x).toLocalFile() for x in json.loads(raw))
|
||||
except Exception:
|
||||
fd = frozenset()
|
||||
self.footnote_data_cache[current_url] = fd
|
||||
|
|
|
|||
Loading…
Reference in a new issue