milesrichardson / ParsePy

A relatively up-to-date fork of ParsePy, the Python wrapper for the Parse.com API. Originally maintained by @dgrtwo
MIT License
516 stars 184 forks source link

fix join on delete file #158

Closed alacroix closed 7 years ago

alacroix commented 7 years ago

Hi,

Thanks for your work. I was trying to upload files and I got this error when I tried to delete one.

Traceback (most recent call last):
  File "/mnt/scripts/parse_connector.py", line 38, in upload_image
    f.delete()
  File "/mnt/vendor/lib/python3.4/site-packages/parse_rest/datatypes.py", line 340, in delete
    uri = "/".join(self.__class__.ENDPOINT_ROOT, self.name)
TypeError: join() takes exactly one argument (2 given)
milesrichardson commented 7 years ago

LGTM! thanks :)

milesrichardson commented 7 years ago

@alacroix btw we were working on this at the same time.... file uploading is now fixed in master branch

alacroix commented 7 years ago

@milesrichardson yeah, just saw this when I was forking the repo :) I'll tell you if I encounter others problems for uploading/deleting an image 👍