mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-10 19:57:17 +03:00
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
Block a user