aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/main.py
diff options
context:
space:
mode:
authorAdam Novak2020-05-05 14:27:58 -0700
committerAdam Novak2020-05-05 14:27:58 -0700
commit07ff2d0f44d07bcca830f020e72ae2389a909f4f (patch)
tree3303cf2a6785164bc30253d49ac57098b47028e5 /bh20simplewebuploader/main.py
parent0add6e53959fd0e7395f35289d958827b8d5a611 (diff)
downloadbh20-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.py3
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))