1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

Fix error from merge

This commit is contained in:
Ozzieisaacs 2020-09-26 09:42:40 +02:00
parent 7c8f6ce62f
commit 9a678c41fe

View File

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