From 6145b7c15334f43d093c6bcd7fb2dd145ec0df98 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 16 Apr 2017 20:53:25 +0200 Subject: [PATCH] Remove redundant Path --- spacy/cli/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/link.py b/spacy/cli/link.py index 781adda2c..e5d590e5a 100644 --- a/spacy/cli/link.py +++ b/spacy/cli/link.py @@ -29,7 +29,7 @@ def link_package(package_name, link_name, force=False): def symlink(model_path, link_name, force): model_path = Path(model_path) - if not Path(model_path).exists(): + if not model_path.exists(): util.sys_exit( "The data should be located in {p}".format(p=model_path), title="Can't locate model data")