1
0

logging: (trivial) use repr() of seed_type

for more obvious empty string

related: https://github.com/spesmilo/electrum/issues/4326#issuecomment-1903747632
This commit is contained in:
SomberNight
2024-02-22 11:45:18 +00:00
parent 4be90eb15a
commit b4712397cc
3 changed files with 5 additions and 5 deletions

View File

@@ -19,4 +19,4 @@ def seed_prefix(seed_type):
return SEED_PREFIX_2FA
elif seed_type == '2fa_segwit':
return SEED_PREFIX_2FA_SW
raise Exception(f"unknown seed_type: {seed_type}")
raise Exception(f"unknown seed_type: {seed_type!r}")