From 2789ef6461a00682c26187cebc9a562e45c50b97 Mon Sep 17 00:00:00 2001 From: BarsTiger Date: Sat, 6 May 2023 15:10:28 +0300 Subject: [PATCH] Main admin now can access keyboard without any log in console --- bot/utils/private_keyboard.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot/utils/private_keyboard.py b/bot/utils/private_keyboard.py index ce0cf62..6fb06f1 100644 --- a/bot/utils/private_keyboard.py +++ b/bot/utils/private_keyboard.py @@ -7,9 +7,6 @@ async def other_user(call: types.CallbackQuery) -> bool: await call.answer('Error, original call was removed', show_alert=True) return True elif call.from_user.id == ADMIN: - print(f"call.from_user.id: {call.from_user.id}") - print(f"ADMIN: {ADMIN}") - print("User is Admin") return False elif call.message.reply_to_message.from_id != call.from_user.id: