From 741a01cff6f301cdd9ca4ce1cfb2dfcb509c8dfc Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sat, 17 Dec 2022 23:26:07 +0100 Subject: [PATCH] Fixed literal --- modules/inline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/inline.py b/modules/inline.py index 45962c1..851b42d 100644 --- a/modules/inline.py +++ b/modules/inline.py @@ -44,7 +44,7 @@ async def inline_answer(client, inline_query): if holo_user.application_approved() or (await isAnAdmin(holo_user.id) is True): - max_results = configGet("inline_preview_count") if inline_query.query is not "" else 200 + max_results = configGet("inline_preview_count") if inline_query.query != "" else 200 list_of_users = [] async for m in app.get_chat_members(configGet("destination_group"), limit=max_results, filter=ChatMembersFilter.SEARCH, query=inline_query.query):