A little patch so the upload.py will work correctly