Skip to content

Commit

Permalink
fixed for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Dec 4, 2024
1 parent a987555 commit 12d92f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions shvatka/tgbot/views/results/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ async def publish(self):
f"Ключи уровня:\n🔑 " + "\n🔑 ".join(self.level.scenario.get_keys())
)
if self.level.scenario.get_bonus_keys():
text += f"\nБонусные ключи:\n💰 " + "\n💰 ".join(
[f"{b.text} ({b.bonus_minutes} мин.)" for b in self.level.scenario.get_bonus_keys()]
text += "\nБонусные ключи:\n💰 " + "\n💰 ".join(
[
f"{b.text} ({b.bonus_minutes} мин.)"
for b in self.level.scenario.get_bonus_keys()
]
)
elif hint_number == len(self.level.scenario.time_hints) - 1:
text = (
Expand Down

0 comments on commit 12d92f0

Please sign in to comment.