Allowing upload extensions (#1119)

This commit is contained in:
Ozzieisaacs
2020-05-09 16:54:22 +02:00
parent 51f12c51ad
commit 75fb7c2e95
3 changed files with 7 additions and 4 deletions
+2
View File
@@ -1241,6 +1241,8 @@ def serve_book(book_id, book_format, anyname):
def download_link(book_id, book_format, anyname):
if "Kobo" in request.headers.get('User-Agent'):
client = "kobo"
else:
client=""
return get_download_link(book_id, book_format, client)