fix result list generation
This commit is contained in:
parent
a39fa85b3b
commit
d5b76c5c12
1 changed files with 3 additions and 4 deletions
|
@ -67,10 +67,9 @@ def add_other_cards(playable, player, results, game):
|
||||||
|
|
||||||
def player_list(game):
|
def player_list(game):
|
||||||
"""Generate list of player strings"""
|
"""Generate list of player strings"""
|
||||||
players = list()
|
return [player.user.first_name + " (%d cards)" % len(player.cards)
|
||||||
for player in game.players:
|
for player in game.players]
|
||||||
player.user.first_name + " (%d cards)" % len(player.cards)
|
|
||||||
return players
|
|
||||||
|
|
||||||
|
|
||||||
def add_no_game(results):
|
def add_no_game(results):
|
||||||
|
|
Loading…
Reference in a new issue