Skip to content

Commit

Permalink
fixed logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
raihahahan committed Aug 21, 2024
1 parent 58c9b04 commit a4d4fea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bots/userbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a4d4fea

Please sign in to comment.