Skip to content

Commit

Permalink
fix: missing f-string for a ValueError (#1409)
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov authored Mar 22, 2024
1 parent 17b69c8 commit 74e8e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minio/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _get_cipher(
return AES.new(key, AES.MODE_GCM, nonce)
if aead_id == 1:
return ChaCha20_Poly1305.new(key=key, nonce=nonce)
raise ValueError("Unknown AEAD ID {aead_id}")
raise ValueError(f"Unknown AEAD ID {aead_id}")


def _generate_key(secret: bytes, salt: bytes) -> bytes:
Expand Down

0 comments on commit 74e8e52

Please sign in to comment.