1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-26 01:50:31 +00:00

Merge remote-tracking branch 'div_a/use-kobo-for-download-link' into master

This commit is contained in:
Ozzie Isaacs 2021-03-27 09:39:44 +01:00
commit 0b97bbf827

View File

@ -305,7 +305,8 @@ def get_download_url_for_book(book, book_format):
book_format=book_format.lower() book_format=book_format.lower()
) )
return url_for( return url_for(
"web.download_link", "kobo.download_book",
auth_token=kobo_auth.get_auth_token(),
book_id=book.id, book_id=book.id,
book_format=book_format.lower(), book_format=book_format.lower(),
_external=True, _external=True,