From f234bafb5cc14916374b1662b901fe515a05e70b Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 3 Jun 2021 16:45:42 +0200 Subject: [PATCH] Store that, woops --- LogBot/logbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 8c8df7b..a56b788 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -13,7 +13,7 @@ def _href_wrap(post): """Wrap links in a tags as a Jinja template filter.""" for url in re.findall(r"http\S+", post): url_with_href = f"{url}" - post.replace(url, url_with_href) + post = post.replace(url, url_with_href) return post