From d140e34055bea0feaadb7003836d5fce8cbcd3b4 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sat, 10 Sep 2022 19:34:52 +0300 Subject: [PATCH] Forgot yet another variable --- reply.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reply.py b/reply.py index d2e8944..3b2b5d4 100755 --- a/reply.py +++ b/reply.py @@ -11,6 +11,8 @@ def parse_args(): return utils.arg_parser_factory(description='Reply service. Leave running in the background.').parse_args() class ReplyBot: + PAIRED_PUNCTUATION = re.compile(r"[{}]".format(re.escape('[](){}"‘’“”«»„'))) + def __init__(self, cfg): self.cfg = cfg self.pleroma = pleroma.Pleroma(access_token=cfg['access_token'], api_base_url=cfg['site'])