This commit is contained in:
ines 2017-06-01 16:46:15 +02:00
parent a3e4f91f4a
commit e5ae6ccf4e

View File

@ -26,7 +26,7 @@ def info(cmd, model=None, markdown=False):
model_path = util.get_data_path() / model
meta_path = model_path / 'meta.json'
if not meta_path.is_file():
prints(meta_path, title="Can't find model meta.json", exits=1)
util.prints(meta_path, title="Can't find model meta.json", exits=1)
meta = read_json(meta_path)
if model_path.resolve() != model_path:
meta['link'] = path2str(model_path)