diff --git a/fedmsg/commands/tweet.py b/fedmsg/commands/tweet.py index 3e63dafc..656a44aa 100644 --- a/fedmsg/commands/tweet.py +++ b/fedmsg/commands/tweet.py @@ -98,7 +98,7 @@ def _post_to_api(api, message): if link: link = bitly.shorten(longUrl=link)['url'] - message = (message[:138] + " ")[:139 - len(link)] + link + message = message[:138 - len(link)] + " " + link else: message = message[:140]