Remove redundant Path

This commit is contained in:
ines 2017-04-16 20:53:25 +02:00
parent fa89613444
commit 6145b7c153

View File

@ -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")