mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Fix message formatting
This commit is contained in:
parent
e89708c3eb
commit
e2f75eb492
|
@ -47,7 +47,7 @@ def download(model, direct=False, *pip_args):
|
|||
# Dirty, but since spacy.download and the auto-linking is
|
||||
# mostly a convenience wrapper, it's best to show a success
|
||||
# message and loading instructions, even if linking fails.
|
||||
prints(Messages.M001.format(name=model_name), title=Messages.M002)
|
||||
prints(Messages.M001, title=Messages.M002.format(name=model_name))
|
||||
|
||||
|
||||
def get_json(url, desc):
|
||||
|
|
Loading…
Reference in New Issue
Block a user