Skip to content

Commit

Permalink
Merge pull request #210 from deldesir/deldesir-patch-3
Browse files Browse the repository at this point in the history
Fix regression due to ValueError in file uploading mechanism
  • Loading branch information
holta authored Jul 5, 2024
2 parents a1df298 + 623451a commit 4257c30
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cps/editbooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit 4257c30

Please sign in to comment.