GSTT-CSC / hazen-web-app

Interactive web-based implementation of hazen
Other
0 stars 0 forks source link

fix upload function #88

Closed sophie22 closed 2 years ago

sophie22 commented 2 years ago

previously uploading via Choose File form option only the first file was uploaded even if multiple were selected. It is now fixed by separating the file upload function from the workbench route, and also retrieving the list of selected files from the request in a more robust way (request.files.getlist() rather than request.files.items())

sophie22 commented 2 years ago

IsADirectoryError is raised when 'Upload' button is pressed without selecting a file.