diff --git a/Attrap_bot.py b/Attrap_bot.py index d0e1c48faf3bce49c6eecbc8c6006fe5b5454f0b..2a93387b23255d7dbfc8f433054bbcb7aeb7639b 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