diff --git a/cps/editbooks.py b/cps/editbooks.py index 5764be589f..ae8ad698a5 100644 --- a/cps/editbooks.py +++ b/cps/editbooks.py @@ -389,7 +389,6 @@ def move_mediafile(requested_file, current_user_name=None, shelf_id=None): db_book, input_authors, title_dir, - renamed_authors, ) = create_book_on_upload(modify_date, meta) # Comments need book id therefore only possible after flush @@ -406,7 +405,6 @@ def move_mediafile(requested_file, current_user_name=None, shelf_id=None): input_authors[0], meta.file_path, title_dir + meta.extension.lower(), - renamed_author=renamed_authors, ) move_coverfile(meta, db_book)