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