Fixed response type check

This commit is contained in:
Profitroll 2023-06-28 08:59:40 +02:00
parent 9e0a815062
commit 93f3439a11
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -338,7 +338,7 @@ async def cmd_remove(app: PyroClient, msg: Message):
response = await func(id=answer_id.text, client=client) response = await func(id=answer_id.text, client=client)
if response: if response is None:
logger.info( logger.info(
"Removed %s '%s' by request of user %s", "Removed %s '%s' by request of user %s",
answer_kind.text, answer_kind.text,