Fix message formatting

This commit is contained in:
Ines Montani 2018-11-16 13:08:20 +01:00
parent e89708c3eb
commit e2f75eb492

View File

@ -47,7 +47,7 @@ def download(model, direct=False, *pip_args):
# Dirty, but since spacy.download and the auto-linking is # Dirty, but since spacy.download and the auto-linking is
# mostly a convenience wrapper, it's best to show a success # mostly a convenience wrapper, it's best to show a success
# message and loading instructions, even if linking fails. # 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): def get_json(url, desc):