Fixed some things related to twishort's tweets

This commit is contained in:
2016-06-25 19:48:21 -05:00
parent 48232a6cf8
commit b1cf1c5590
5 changed files with 21 additions and 13 deletions

View File

@@ -51,5 +51,4 @@ def create_tweet(user_token, user_secret, text, media=0):
"text": text.encode("utf-8"),
"media": media}
response = requests.post(url, data=data)
# print response.json()
return response.json()["text_to_tweet"]