mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2075130 [Private bug](https://bugs.launchpad.net/calibre/+bug/2075130)
This commit is contained in:
parent
d56574285e
commit
863abac24e
@ -256,7 +256,7 @@ def browse(ctx, rd, rest):
|
||||
if rest.startswith('book/'):
|
||||
# implementation of https://bugs.launchpad.net/calibre/+bug/1698411
|
||||
# redirect old server book URLs to new URLs
|
||||
redirect = ctx.url_for(None) + '#book_id=' + rest[5:] + "&panel=book_details"
|
||||
redirect = ctx.url_for(None) + '#book_id=' + int(rest[5:]) + "&panel=book_details"
|
||||
from lxml import etree as ET
|
||||
return html(ctx, rd, endpoint,
|
||||
E.html(E.head(
|
||||
|
Loading…
x
Reference in New Issue
Block a user