Open SabineHaas opened 1 day ago
I got this error message as my upload file was not named sedos_results.csv
.
sedos_results
table already exists on OEP, which is why 'content' will always exist in data
.
Would be nice to add an error message "Check that your file is named..."
When trying to upload results data with
results.py
I get an error in the following line, as "content" does not exists in data when the table does not exist, yet.https://github.com/sedos-project/sedos_upload/blob/011815b5dd854daa3fc0c22097e454765cb85722/main.py#L111
I just exchanged the line with
if "not found" in data["reason"]:
to make it work for me right now. This is not a proposal for a fix.