1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 06:17:40 +00:00

Fix #1354 (Error on uploading single book, because of missing rarfile)

This commit is contained in:
Ozzieisaacs
2020-05-05 18:48:40 +02:00
parent fcbeeca305
commit 850a85915b
2 changed files with 2 additions and 1 deletions

View File

@@ -453,7 +453,7 @@ def upload_single_file(request, book, book_id):
"<a href=\"" + url_for('web.show_book', book_id=book.id) + "\">" + uploadText + "</a>")
return uploader.process(
saved_filename, *os.path.splitext(requested_file.filename))
saved_filename, *os.path.splitext(requested_file.filename), config.config_rarfile_location)
def upload_cover(request, book):