mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3310d3519a
commit
60814b0589
@ -441,7 +441,7 @@ class RecursiveFetcher(object):
|
||||
|
||||
def localize_link(self, tag, key, path):
|
||||
parts = urlparse.urlsplit(tag[key])
|
||||
suffix = '#'+parts.fragment if parts.fragment else ''
|
||||
suffix = ('#'+parts.fragment) if parts.fragment else ''
|
||||
tag[key] = path+suffix
|
||||
|
||||
def process_return_links(self, soup, baseurl):
|
||||
|
Loading…
x
Reference in New Issue
Block a user