Add missing spaces in CLI error message (#2485)
This commit is contained in:
parent
6c48c8b3ba
commit
0e1bf89fad
|
@ -146,9 +146,9 @@ Or, a path to a directory to run as a simple HTTP server:
|
||||||
if callable(app):
|
if callable(app):
|
||||||
solution = f"sanic {self.args.module} --factory"
|
solution = f"sanic {self.args.module} --factory"
|
||||||
raise ValueError(
|
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"
|
f"{app_type_name}\n"
|
||||||
" If this callable returns a"
|
" If this callable returns a "
|
||||||
f"Sanic instance try: \n{solution}"
|
f"Sanic instance try: \n{solution}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user