From 92f4e4630ffe0110501d2ae12be3a4a78eab9cc2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 29 Mar 2016 22:00:45 -0400 Subject: fixed absolute link in medium preface --- app/syndication/medium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '

This was originally posted on my own site.

' % item.content_object.get_absolute_url() + head = '

This was originally posted on my own site.

' % item.content_object.get_absolute_url() body = "%s %s" % (head, item.content_object.body_html) # Create a post. post = client.create_post( -- cgit v1.2.3-70-g09d2