From a4d4fea4285c8130637f849dc2ffe486f76b5886 Mon Sep 17 00:00:00 2001 From: raihahahan Date: Wed, 21 Aug 2024 13:08:03 +0800 Subject: [PATCH] fixed logging issue --- bots/userbot.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bots/userbot.py b/bots/userbot.py index dbbe90c..1998bc9 100644 --- a/bots/userbot.py +++ b/bots/userbot.py @@ -220,9 +220,8 @@ def qr_rent_command(self, update, context, bike_name): f"\n@{user_data['username']} rented {bike_name} at {self.now().strftime('%Y/%m/%d, %H:%M:%S')}" ) - context.user_data['photo'] = "###" try: - self.admin_log(update, context, message, context.user_data['photo']) + self.admin_log(update, context, message) except: return