Skip to content

Commit

Permalink
Remove extraneus return parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
szszszsz committed Aug 10, 2023
1 parent 965ae9c commit 8f83cf1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pynitrokey/nk3/secrets_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,7 @@ def get_credential(self, cred_id: bytes) -> PasswordSafeEntry:
p.properties = p.properties.hex().encode() if p.properties else None
return p

def rename_credential(
self, cred_id: bytes, cred_new_id: bytes
) -> PasswordSafeEntry:
def rename_credential(self, cred_id: bytes, cred_new_id: bytes):
structure = [
tlv8.Entry(Tag.CredentialId.value, cred_id),
tlv8.Entry(Tag.CredentialId.value, cred_new_id),
Expand Down

0 comments on commit 8f83cf1

Please sign in to comment.