Skip to content

Fix misspelling of spec variable name in missing META.json exception mes... #19

Closed
wants to merge 1 commit into from
View
2 pgxnclient/commands/__init__.py
@@ -384,7 +384,7 @@ def get_meta(self, spec):
logger.debug("reading %s", fn)
if not os.path.exists(fn):
raise PgxnClientException(
- _("file 'META.json' not found in '%s'") % dir)
+ _("file 'META.json' not found in '%s'") % spec)
with open(fn) as f:
return load_json(f)
Something went wrong with that request. Please try again.