From 7a4cad60a7692114f51e3ead84f6786c4c8d35a2 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sat, 10 Sep 2022 19:33:16 +0300 Subject: [PATCH] Forgot self --- reply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reply.py b/reply.py index b1feeba..d2e8944 100755 --- a/reply.py +++ b/reply.py @@ -70,10 +70,10 @@ class ReplyBot: async def reply(self, notification): toot = await utils.make_post(self.cfg) # generate a toot - if cfg['strip_paired_punctuation']: + if self.cfg['strip_paired_punctuation']: toot = PAIRED_PUNCTUATION.sub("", toot) toot = toot.replace("@", "@\u200b") # sanitize mentions - toot = utils.remove_mentions(cfg, toot) + toot = utils.remove_mentions(self.cfg, toot) await self.pleroma.reply(notification['status'], toot, cw=self.cfg['cw']) @staticmethod