Skip to content

Commit

Permalink
Merge pull request #3 from yw10/master
Browse files Browse the repository at this point in the history
Added 1 to all winners' index
  • Loading branch information
ihendley authored Aug 21, 2018
2 parents b54138f + 3f24fe0 commit 3372af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treys/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ def hand_summary(self, board, hands):
if len(winners) == 1:
print("Player {} is the winner with a {}\n".format(winners[0] + 1, hand_result))
else:
print("Players {} tied for the win with a {}\n".format(winners,hand_result))
print("Players {} tied for the win with a {}\n".format([x + 1 for x in winners],hand_result))

0 comments on commit 3372af5

Please sign in to comment.