mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Remove redundant Path
This commit is contained in:
parent
fa89613444
commit
6145b7c153
|
@ -29,7 +29,7 @@ def link_package(package_name, link_name, force=False):
|
||||||
|
|
||||||
def symlink(model_path, link_name, force):
|
def symlink(model_path, link_name, force):
|
||||||
model_path = Path(model_path)
|
model_path = Path(model_path)
|
||||||
if not Path(model_path).exists():
|
if not model_path.exists():
|
||||||
util.sys_exit(
|
util.sys_exit(
|
||||||
"The data should be located in {p}".format(p=model_path),
|
"The data should be located in {p}".format(p=model_path),
|
||||||
title="Can't locate model data")
|
title="Can't locate model data")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user