From e2f75eb492c8f8747d8c752f3869f329dfcd3086 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Fri, 16 Nov 2018 13:08:20 +0100 Subject: [PATCH] Fix message formatting --- spacy/cli/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/download.py b/spacy/cli/download.py index ec5043562..4d04a3436 100644 --- a/spacy/cli/download.py +++ b/spacy/cli/download.py @@ -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):