mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-04-07 19:05:54 +00:00
core: fix style
This commit is contained in:
parent
0a13f7a441
commit
f947fe97cc
@ -34,7 +34,9 @@ async def _request_from_user(ctx: wire.Context) -> str:
|
||||
else:
|
||||
passphrase = await _request_on_host(ctx)
|
||||
if len(passphrase.encode()) > _MAX_PASSPHRASE_LEN:
|
||||
raise wire.DataError("Maximum passphrase length is %d bytes" % _MAX_PASSPHRASE_LEN)
|
||||
raise wire.DataError(
|
||||
"Maximum passphrase length is %d bytes" % _MAX_PASSPHRASE_LEN
|
||||
)
|
||||
|
||||
return passphrase
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user