From fc2b79a5e8a9853068bfe96129db7e1c8bf202f5 Mon Sep 17 00:00:00 2001 From: Chaz Littlejohn Date: Wed, 30 Mar 2011 03:18:36 +0000 Subject: [PATCH] tourneysPlayersIds is later updated by db.createOrUpdateTourneysPlayers and turned into a dict rather than a list so it makes sense to initialise as such --- pyfpdb/Hand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 58fb433d..bbfd9273 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -102,7 +102,7 @@ class Hand(object): self.seating = [] self.players = [] self.posted = [] - self.tourneysPlayersIds = [] + self.tourneysPlayersIds = {} # Collections indexed by street names self.bets = {}