Update results.py

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

View file

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