Add missing spaces in CLI error message (#2485)

This commit is contained in:
Néstor Pérez 2022-06-26 09:38:35 +02:00 committed by GitHub
parent 6c48c8b3ba
commit 0e1bf89fad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -146,9 +146,9 @@ Or, a path to a directory to run as a simple HTTP server:
if callable(app):
solution = f"sanic {self.args.module} --factory"
raise ValueError(
"Module is not a Sanic app, it is a"
"Module is not a Sanic app, it is a "
f"{app_type_name}\n"
" If this callable returns a"
" If this callable returns a "
f"Sanic instance try: \n{solution}"
)