Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JBorrow committed Nov 14, 2024
1 parent d4ba877 commit 632682e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ def upgrade():
def downgrade():
op.drop_column("librarians", "transfers_enabled")
op.drop_table("corrupt_files")


4 changes: 2 additions & 2 deletions librarian_server/api/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ async def validate_file(
)
session.add(corrupt_file)
session.commit()

log.error(
"File validation failed, the checksums do not match for file "
"{} in store {}. CorruptFile: {}",
request.file_name,
info.store,
corrupt_file.id
corrupt_file.id,
)

return FileValidationResponse(checksum_info)

0 comments on commit 632682e

Please sign in to comment.