Fixed literal

This commit is contained in:
Profitroll 2022-12-17 23:26:07 +01:00
parent 6b00f181f6
commit 741a01cff6

View File

@ -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):