Prevent error when special card is displayed on round end
This commit is contained in:
parent
10b91f2c98
commit
f9bb8a44e0
|
@ -120,7 +120,7 @@ def do_play_card(bot, player, result_id):
|
|||
chat.id,
|
||||
text=", ".join(
|
||||
["{cl} {vl} (+{pt})"
|
||||
.format(cl=c.COLOR_ICONS[n[1].color],
|
||||
.format(cl=c.COLOR_ICONS[n[1].color or 'x'],
|
||||
vl=n[1].value or n[1].special,
|
||||
pt=n[0])
|
||||
for n in sorted(game.last_round_score,
|
||||
|
|
Loading…
Reference in a new issue