mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix warning from extlinks
This commit is contained in:
parent
bece99941d
commit
909ab3723f
@ -180,7 +180,7 @@ html_context['homepage_url'] = website
|
|||||||
if needs_localization:
|
if needs_localization:
|
||||||
html_context['homepage_url'] = localize_website_link(html_context['homepage_url'])
|
html_context['homepage_url'] = localize_website_link(html_context['homepage_url'])
|
||||||
extlinks = {
|
extlinks = {
|
||||||
'website_base': (website, None),
|
'website_base': (f'{website}/%s', None),
|
||||||
'website': (html_context['homepage_url'] + '/%s', None),
|
'website': (html_context['homepage_url'] + '/%s', None),
|
||||||
'download_file': (f'{website}/downloads/%s', '%s'),
|
'download_file': (f'{website}/downloads/%s', '%s'),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user