diff --git a/plugins/commands/photos.py b/plugins/commands/photos.py index d52e9f3..cdad7d8 100644 --- a/plugins/commands/photos.py +++ b/plugins/commands/photos.py @@ -338,7 +338,7 @@ async def cmd_remove(app: PyroClient, msg: Message): response = await func(id=answer_id.text, client=client) - if response: + if response is None: logger.info( "Removed %s '%s' by request of user %s", answer_kind.text,