core: fix style

pull/846/head
Tomas Susanka 4 years ago
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…
Cancel
Save