Fixed upload error

It turns out our python file was misindented. That was the MOST obscure
error message I’ve ever seen.