Skip to content

Commit

Permalink
another fix for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tb0hdan committed Jan 30, 2024
1 parent 492d100 commit e8c8e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtg/bot/telegram/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def shorten_in_text(self, message) -> str:
replacements[pos] = self.shorten_p(part)
for pos in replacements:
splits[pos] = replacements.get(pos)
return ' '.join([x for x in r if x])
return ' '.join([x for x in splits if x])

def echo(self, update: Update, _) -> None:
"""
Expand Down

0 comments on commit e8c8e83

Please sign in to comment.