Skip to content

Commit

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


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


Expand Down

0 comments on commit d64e86c

Please sign in to comment.