Skip to content

Commit

Permalink
Tweak to link padding.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Nov 14, 2012
1 parent b0d4ee1 commit 7593310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedmsg/commands/tweet.py
Expand Up @@ -82,7 +82,7 @@ def _post_to_api(api, message):

if link:
link = bitly.shorten(longUrl=link)['url']
message = (message[:139] + " ")[:139 - len(link)] + link
message = (message[:138] + " ")[:139 - len(link)] + link
else:
message = message[:140]

Expand Down

0 comments on commit 7593310

Please sign in to comment.