This commit is contained in:
Kovid Goyal 2023-04-23 09:09:02 +05:30
parent c352e3e9ed
commit 22fc372bbe
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -214,7 +214,7 @@ def mi_to_html(
prepare_string_for_xml(durl)) prepare_string_for_xml(durl))
if show_links: if show_links:
link = '<a href="{}" title="{}">{}</a>{}'.format(action(scheme, book_id=book_id, loc=loc), link = '<a href="{}" title="{}">{}</a>{}'.format(action(scheme, book_id=book_id, loc=loc),
prepare_string_for_xml(path, True), _('Click to open'), extra) prepare_string_for_xml(path, True), _('Book files'), extra)
if not isdevice: if not isdevice:
data_path = os.path.join(path, DATA_DIR_NAME) data_path = os.path.join(path, DATA_DIR_NAME)
with suppress(OSError): with suppress(OSError):