diff options
author | luxagraf <sng@luxagraf.net> | 2016-03-29 22:00:45 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2016-03-29 22:00:45 -0400 |
commit | 92f4e4630ffe0110501d2ae12be3a4a78eab9cc2 (patch) | |
tree | b506534f21e6081c00de124f860100c20af4ad9b /app/syndication | |
parent | 583afa3c67df13d4845ef07a70a159688052584c (diff) |
fixed absolute link in medium preface
Diffstat (limited to 'app/syndication')
-rw-r--r-- | app/syndication/medium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/syndication/medium.py b/app/syndication/medium.py index b7a1c6d..f3164ec 100644 --- a/app/syndication/medium.py +++ b/app/syndication/medium.py @@ -7,7 +7,7 @@ def post_to_medium(item): client = Client(application_id=settings.MEDIUM_CLIENT_ID, application_secret=settings.MEDIUM_CLIENT_SECRET) client.access_token = settings.MEDIUM_INT_TOKEN user = client.get_current_user() - head = '<p><i>This was originally posted <a href="%s" rel="canonical">on my own site</a>.</i></p>' % item.content_object.get_absolute_url() + head = '<p><i>This was originally posted <a href="https://luxagraf.net%s" rel="canonical">on my own site</a>.</i></p>' % item.content_object.get_absolute_url() body = "%s %s" % (head, item.content_object.body_html) # Create a post. post = client.create_post( |