Update results.py

This commit is contained in:
David 2018-07-17 10:50:13 +07:00 committed by GitHub
parent 44bed30656
commit e573e2f43f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,8 +61,8 @@ def add_other_cards(player, results, game):
def player_list(game):
"""Generate list of player strings"""
return [_("<b>{name}</b> ({number} card)",
"<b>{name}</b> ({number} cards)",
return [_("**{name}** ({number} card)",
"**{name}** ({number} cards)",
len(player.cards))
.format(name=player.user.first_name, number=len(player.cards))
for player in game.players]