Skip to content

Commit

Permalink
linter fighting
Browse files Browse the repository at this point in the history
  • Loading branch information
avirgovi committed Apr 28, 2022
1 parent b304489 commit 8265d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwilib/devices/tapsigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def restore_device(self, label: str = "", word_count: int = 24) -> bool:
decrypted_bytes = aes.decrypt(secret)
decrypted_str = decrypted_bytes.decode()
extended_private_key, derivation_path = decrypted_str.split()
except (UnicodeError, ValueError) as e:
except (UnicodeError, ValueError):
raise ValueError("Invalid 'Backup Key'")
print(f"Derivation path: {derivation_path}")
print(f"Extended private key: {extended_private_key}")
Expand Down

0 comments on commit 8265d6e

Please sign in to comment.