mirror of https://github.com/explosion/spaCy.git
Fix syntax error
This commit is contained in:
parent
4ceebde523
commit
30e35d9666
|
@ -170,7 +170,7 @@ def get_model_meta(path):
|
|||
meta = read_json(meta_path)
|
||||
for setting in ['lang', 'name', 'version']:
|
||||
if setting not in meta or not meta[setting]:
|
||||
raise ValueError('No valid '%s' setting found in model meta.json' % setting)
|
||||
raise ValueError("No valid '%s' setting found in model meta.json" % setting)
|
||||
return meta
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue