Skip to content

Commit

Permalink
increase tweet size
Browse files Browse the repository at this point in the history
  • Loading branch information
snpefk authored and RouxRC committed Sep 19, 2018
1 parent e2b4643 commit 278a44e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions twitter/cmdline.py
Expand Up @@ -585,14 +585,14 @@ def __call__(self, twitter, options):
else:
break
replies = " ".join(replies)
if len(replies) >= 140:
if len(replies) >= 280:
# just go back
statusTxt = replies
replies = ""

splitted = []
while statusTxt:
limit = 140 - len(replies)
limit = 280 - len(replies)
if len(statusTxt) > limit:
end = str.rfind(statusTxt, ' ', 0, limit)
else:
Expand Down

0 comments on commit 278a44e

Please sign in to comment.