Skip to content
Browse files

fixed missing leading slash in path in put_event method

  • Loading branch information...
1 parent 13d5849 commit b301ee0484e59ee65e83aef27bed4305be701581 @john-terenzio john-terenzio committed May 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/facebook.py
View
2 src/facebook.py
@@ -163,7 +163,7 @@ def put_event(self, id=None, **data):
finally:
del data['picture']
file.close()
- path = "me/events" if not id else str(id)
+ path = "/" + ("me/events" if not id else str(id))
return self.multipart_request(path, post_args=data, files=files)
def put_comment(self, object_id, message):

0 comments on commit b301ee0

Please sign in to comment.
Something went wrong with that request. Please try again.