From 7b2534012df9bae07e7b7af926d6061fb0516cda Mon Sep 17 00:00:00 2001 From: profitroll Date: Fri, 24 Feb 2023 13:48:06 -0500 Subject: [PATCH] Fixed typo --- modules/sender.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/sender.py b/modules/sender.py index 2d90f30..61df84b 100644 --- a/modules/sender.py +++ b/modules/sender.py @@ -77,7 +77,9 @@ async def send_content(app: PosterClient) -> None: else: caption = "" - if configGet("enabled", "posting", "submitted_caption") and ((submitted["user"] not in app.admins) or (configGet("ignore_admins", "posting", "submitted_caption") is True)): + if configGet("enabled", "posting", "submitted_caption") and ( + (submitted["user"] not in app.admins) or (configGet("ignore_admins", "posting", "submitted_caption") is False) + ): caption = f"{caption}\n\n{configGet('text', 'posting', 'submitted_caption')}\n" else: caption = f"{caption}\n\n"