diff options
| -rw-r--r-- | app/admin/datasets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/admin/datasets.py b/app/admin/datasets.py index f86fa33..1403244 100644 --- a/app/admin/datasets.py +++ b/app/admin/datasets.py @@ -45,7 +45,7 @@ def validate_dataset(filename): with open(filename, "rb") as fid: try: data = json.load(fid) - except json.JSONDecoderError as err: + except json.JSONDecodeError as err: return "JSON decoding error: %s" % err.msg required_keys = ["name", "n_obs", "n_dim", "series"] |
