1
0
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:
Tomas Susanka 2020-02-11 16:41:43 +01:00
parent 0a13f7a441
commit f947fe97cc

View File

@ -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