Skip to content

Commit

Permalink
fix tweet url
Browse files Browse the repository at this point in the history
  • Loading branch information
posativ committed Mar 8, 2015
1 parent ce2a4a2 commit e4970fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acrylamid/tasks/ping.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def tweet(entry, conf, dryrun=False):
t = twitter.Twitter(auth=twitter.OAuth(oauth_token, oauth_token_secret, key, secret))

tweet = u"New Blog Entry: {0} {1} {2}".format(entry.title,
helpers.joinurl(conf['www_root'], entry.permalink),
conf['www_root'] + '/' + entry.permalink,
' '.join([u'#' + helpers.safeslug(tag) for tag in entry.tags]))

print(' ', bold(blue("tweet ")), end='')
Expand Down

0 comments on commit e4970fe

Please sign in to comment.