- Timestamp:
- Oct 13, 2019, 4:40:50 PM (5 years ago)
- Branches:
- current
- Children:
- 93b23a6
- Parents:
- fcf0ef3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ow/views/bulk.py
rfcf0ef3 r715671f 1 from pyramid.httpexceptions import HTTPFound , HTTPNotFound1 from pyramid.httpexceptions import HTTPFound 2 2 from pyramid.view import view_config 3 from pyramid.response import Response4 3 from pyramid_simpleform import Form 5 4 from pyramid_simpleform.renderers import FormRenderer … … 28 27 # our blob storage validator. 29 28 # dirty fix until formencode fixes its api.is_empty method 30 if isinstance(request.POST.get(' tracking_file', None), bytes):31 request.POST[' tracking_file'] = ''29 if isinstance(request.POST.get('compressed_file', None), bytes): 30 request.POST['compressed_file'] = '' 32 31 33 32 form = Form(request, schema=BulkFileSchema()) … … 54 53 55 54 56 57 55 @view_config( 58 56 context=User,
Note: See TracChangeset
for help on using the changeset viewer.