Skip to content

Commit

Permalink
Fix deepsource issue
Browse files Browse the repository at this point in the history
  • Loading branch information
torrua committed Nov 18, 2024
1 parent 95ad34d commit 45c5854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bot/telegram/keyboards.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def keyboard_cpx(self, show_list: bool = False, slice_start: int = 0):
:return:
"""

if not len(self.get_items()):
if self.get_items():
return kb_close()

if not show_list:
Expand Down

0 comments on commit 45c5854

Please sign in to comment.