add wonWhenSeenStreet2-4 to DerivedStats' unimplemented section, store 0.0 by default

This commit is contained in:
steffen123 2010-08-19 03:55:12 +02:00
parent 8669c3b821
commit d5fb0b3c36
3 changed files with 10 additions and 1 deletions

View File

@ -1673,6 +1673,9 @@ class Database:
pdata[p]['street3CBDone'], pdata[p]['street3CBDone'],
pdata[p]['street4CBDone'], pdata[p]['street4CBDone'],
pdata[p]['wonWhenSeenStreet1'], pdata[p]['wonWhenSeenStreet1'],
pdata[p]['wonWhenSeenStreet2'],
pdata[p]['wonWhenSeenStreet3'],
pdata[p]['wonWhenSeenStreet4'],
pdata[p]['street0Calls'], pdata[p]['street0Calls'],
pdata[p]['street1Calls'], pdata[p]['street1Calls'],
pdata[p]['street2Calls'], pdata[p]['street2Calls'],

View File

@ -77,6 +77,9 @@ class DerivedStats():
for i in range(1,5): for i in range(1,5):
self.handsplayers[player[1]]['foldToStreet%dCBChance' %i] = False self.handsplayers[player[1]]['foldToStreet%dCBChance' %i] = False
self.handsplayers[player[1]]['foldToStreet%dCBDone' %i] = False self.handsplayers[player[1]]['foldToStreet%dCBDone' %i] = False
self.handsplayers[player[1]]['wonWhenSeenStreet2'] = 0.0
self.handsplayers[player[1]]['wonWhenSeenStreet3'] = 0.0
self.handsplayers[player[1]]['wonWhenSeenStreet4'] = 0.0
self.assembleHands(self.hand) self.assembleHands(self.hand)
self.assembleHandsPlayers(self.hand) self.assembleHandsPlayers(self.hand)

View File

@ -4021,6 +4021,9 @@ class Sql:
street3CBDone, street3CBDone,
street4CBDone, street4CBDone,
wonWhenSeenStreet1, wonWhenSeenStreet1,
wonWhenSeenStreet2,
wonWhenSeenStreet3,
wonWhenSeenStreet4,
street0Calls, street0Calls,
street1Calls, street1Calls,
street2Calls, street2Calls,
@ -4090,7 +4093,7 @@ class Sql:
%s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
%s, %s, %s, %s, %s, %s, %s, %s, %s, %s,
%s %s, %s, %s, %s
)""" )"""
################################ ################################