diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index aa048ae4..0973141f 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -77,7 +77,7 @@ class Hand(object): self.dbid_gt = 0 self.tablename = "" self.hero = "" - self.maxseats = None + self.maxseats = 0 self.counted_seats = 0 self.buttonpos = 0 diff --git a/pyfpdb/TourneySummary.py b/pyfpdb/TourneySummary.py index 7b3aa5be..105141d5 100644 --- a/pyfpdb/TourneySummary.py +++ b/pyfpdb/TourneySummary.py @@ -77,7 +77,7 @@ class TourneySummary(object): self.buyin = None self.fee = None self.hero = None - self.maxseats = None + self.maxseats = 0 self.entries = 0 self.speed = "Normal" self.prizepool = 0 # Make it a dict in order to deal (eventually later) with non-money winnings : {'MONEY' : amount, 'OTHER' : Value ??}