Don't auto-kill at the 140 limit, as other languages apparently treat this differently. Leave it up to the programmer to determine length issues, I guess.

This commit is contained in:
Ryan McGrath 2009-12-30 03:27:59 -05:00
parent 25f68b2608
commit a1bd6bfb85
2 changed files with 0 additions and 4 deletions

View file

@ -585,8 +585,6 @@ class setup:
This parameter will be ignored if outside that range, not a number, if geo_enabled is disabled, or if there not a corresponding latitude parameter with this tweet.
"""
version = version or self.apiVersion
if len(list(status)) > 140:
raise TwythonError("This status message is over 140 characters. Trim it down!")
try:
return simplejson.load(self.opener.open("http://api.twitter.com/%d/statuses/update.json?" % version, urllib.parse.urlencode({
"status": self.unicode2utf8(status),