From 4658143a9c80c40cb17825cd5212df4ff0060855 Mon Sep 17 00:00:00 2001 From: Kay Faraday Date: Fri, 9 Sep 2022 03:39:54 +0000 Subject: [PATCH] fix attributeerror in mirror --- mirror_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirror_bot.py b/mirror_bot.py index bfd030e..52bb671 100755 --- a/mirror_bot.py +++ b/mirror_bot.py @@ -109,7 +109,7 @@ class PostMirror: assert None not in attachments await self._fedi.post( - post['source'].replace('@', '@\u200b'), + post['source']['content'].replace('@', '@\u200b'), cw=post['summary'], visibility='unlisted', media_ids=attachments,