diff --git a/core/src/apps/common/passphrase.py b/core/src/apps/common/passphrase.py index 6a418d48f0..a3f7bf91d2 100644 --- a/core/src/apps/common/passphrase.py +++ b/core/src/apps/common/passphrase.py @@ -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