hi
i am trying to use this simple python code to upload but it doesn't seem to work, the output looks fine with no errors, but the file is never uploaded, when i try the same curl command on command prompt it works fine.
p = subprocess.Popen("curl -X POST https://content.dropboxapi.com/2/files/upload --header \"Authorization:Bearer <ACCESS_TOKEN_REDACTED>\" --header \"Dropbox-API-Arg:{\"path\":\"/m40_debug.log\",\"mode\":\"add\",\"autorename\":true,\"mute\":false}\" --header \"Content-Type:application/octet-stream\" --data-binary @abcd.log", stdout=subprocess.PIPE, stderr=None, shell=True)
stdout, stderr = p.communicate()