Skip to content

Commit

Permalink
fixes for empty waivers
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Jun 26, 2023
1 parent 22877e9 commit 081611d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shvatka/tgbot/handlers/game/waivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
async def get_waivers_cmd(m: Message, game: dto.Game, dao: HolderDao):
votes = await get_all_played(game=game, dao=dao.waiver)
await m.answer(
text=render_all_teams_waivers(votes),
text=render_all_teams_waivers(votes) or "Пока ещё никто не сдал вейверы",
disable_web_page_preview=True,
)

Expand Down

0 comments on commit 081611d

Please sign in to comment.