core: fix response dropping when formatting is returned as an empty string

This commit is contained in:
2023-09-21 19:29:53 +03:00
parent 2446a20a5b
commit 151107aa81
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -195,7 +195,7 @@ def queue_processor():
response, formatting = mod.process(msg)
if response:
if formatting == None:
if not formatting:
print(f"Responded using module {mod.path} ({mod.alias}) with text: {response}")
break
elif formatting in ["Markdown", "MarkdownV2", "HTML"]: