Fix syntax error

This commit is contained in:
Matthew Honnibal 2017-08-30 17:35:39 -05:00
parent 4ceebde523
commit 30e35d9666

View File

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