diff options
author | Adam Novak | 2020-05-05 14:27:58 -0700 |
---|---|---|
committer | Adam Novak | 2020-05-05 14:27:58 -0700 |
commit | 07ff2d0f44d07bcca830f020e72ae2389a909f4f (patch) | |
tree | 3303cf2a6785164bc30253d49ac57098b47028e5 /bh20simplewebuploader/main.py | |
parent | 0add6e53959fd0e7395f35289d958827b8d5a611 (diff) | |
download | bh20-seq-resource-07ff2d0f44d07bcca830f020e72ae2389a909f4f.tar.gz bh20-seq-resource-07ff2d0f44d07bcca830f020e72ae2389a909f4f.tar.lz bh20-seq-resource-07ff2d0f44d07bcca830f020e72ae2389a909f4f.zip |
Add JS at front end for lists, and date support on backend
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r-- | bh20simplewebuploader/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 7b6e6e1..1a441f0 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -268,6 +268,9 @@ def parse_input(input_string, html_type, number_step=None): return int(input_string) else: return float(input_string) + elif html_type == 'date': + # Don't do our own date validation; pass it on as a string + return input_string else: raise NotImplementedError('Unimplemented input type: {}'.format(html_type)) |