Skip to content

Commit

Permalink
fix label to string
Browse files Browse the repository at this point in the history
  • Loading branch information
msetina committed Apr 17, 2024
1 parent 97ab1a3 commit 209ef06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkcs11_cryptography_keys/sessions/PKCS11_admin_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def open(self) -> PKCS11TokenAdmin | None:
keyid = self._key_id
if label is None:
if self._key_label is None:
label = b"default"
label = "default"
else:
label = self._key_label
return PKCS11TokenAdmin(self._session, keyid, label)
Expand Down

0 comments on commit 209ef06

Please sign in to comment.