From a7ee680f6f2eaf155f21d3bd4077443cd78fac43 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 1 Dec 2024 15:02:45 +0000 Subject: [PATCH] fediverse: Fix URLs in output --- fediverse/fediverse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fediverse/fediverse.py b/fediverse/fediverse.py index 40df3729..ee662608 100644 --- a/fediverse/fediverse.py +++ b/fediverse/fediverse.py @@ -60,7 +60,7 @@ def post_on_mastodon(settings, new_posts): build_message = 'Publishing on Mastodon: %s (%s)' for article in new_posts: - url = article.get_siteurl() + article.url + url = article.get_siteurl() + '/' + article.url title = article.title htmltext = build_message % (title.replace(' ',' '), url) cleantext = html.fromstring(htmltext) -- 2.30.2