From 333f7392d1b53067d0f983ab447daea6291a409e Mon Sep 17 00:00:00 2001
From: Bastien Le Querrec <blq@laquadrature.net>
Date: Sun, 17 Nov 2024 01:09:01 +0100
Subject: [PATCH] =?UTF-8?q?Attrap=5Fbot:=20remplace=20\n=20par=20un=20reto?=
 =?UTF-8?q?ur=20=C3=A0=20la=20ligne?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Attrap_bot.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Attrap_bot.py b/Attrap_bot.py
index d0e1c48..2a93387 100644
--- a/Attrap_bot.py
+++ b/Attrap_bot.py
@@ -253,6 +253,7 @@ class Attrap_bot:
                                 toot = toot.replace('{name}', raa['name'])
                                 toot = toot.replace('{url}', raa['url'])
                                 toot = toot.replace('{hashtags}', raa['hashtags_str'])
+                                toot = toot.replace('\\n', "\n")
                                 sender.send(toot)
 
                 # On envoie un mail par administration
-- 
GitLab