Fixing issue pointed out by sk89q, wherein updateStatus() doesn't handle the in_reply_to_status_id parameter correctly.
This commit is contained in:
parent
69f747a658
commit
716fe69e60
2 changed files with 2 additions and 2 deletions
|
|
@ -160,7 +160,7 @@ class setup:
|
|||
print("This status message is over 140 characters, but we're gonna try it anyway. Might wanna watch this!")
|
||||
if self.authenticated is True:
|
||||
try:
|
||||
return simplejson.load(self.opener.open("http://twitter.com/statuses/update.json?", urllib.parse.urlencode({"status": status}, {"in_reply_to_status_id": in_reply_to_status_id})))
|
||||
return simplejson.load(self.opener.open("http://twitter.com/statuses/update.json?", urllib.parse.urlencode({"status": status, "in_reply_to_status_id": in_reply_to_status_id})))
|
||||
except HTTPError as e:
|
||||
if self.debug is True:
|
||||
print(e.headers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue