mirror of
https://git.kiwifarms.net/mint/ebooks.git
synced 2024-10-22 23:19:07 +00:00
Forgot yet another variable
This commit is contained in:
parent
7a4cad60a7
commit
d140e34055
1 changed files with 2 additions and 0 deletions
2
reply.py
2
reply.py
|
@ -11,6 +11,8 @@ def parse_args():
|
||||||
return utils.arg_parser_factory(description='Reply service. Leave running in the background.').parse_args()
|
return utils.arg_parser_factory(description='Reply service. Leave running in the background.').parse_args()
|
||||||
|
|
||||||
class ReplyBot:
|
class ReplyBot:
|
||||||
|
PAIRED_PUNCTUATION = re.compile(r"[{}]".format(re.escape('[](){}"‘’“”«»„')))
|
||||||
|
|
||||||
def __init__(self, cfg):
|
def __init__(self, cfg):
|
||||||
self.cfg = cfg
|
self.cfg = cfg
|
||||||
self.pleroma = pleroma.Pleroma(access_token=cfg['access_token'], api_base_url=cfg['site'])
|
self.pleroma = pleroma.Pleroma(access_token=cfg['access_token'], api_base_url=cfg['site'])
|
||||||
|
|
Loading…
Reference in a new issue