diff options
Diffstat (limited to 'app/admin/datasets.py')
| -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 5b10dc4..078535f 100644 --- a/app/admin/datasets.py +++ b/app/admin/datasets.py @@ -54,7 +54,7 @@ def validate_dataset(filename): if not key in data: return "Required key missing: %s" % key - if not re.fullmatch("\w+", data['name']): + if not re.fullmatch("\w+", data["name"]): return "Name can only contain characters in the set [a-zA-Z0-9_]" if len(data["series"]) != data["n_dim"]: |
