changed the key in the hands stats dict from 'gameTypeId' back to 'gametypeId'
This commit is contained in:
+1
-1
@@ -1855,7 +1855,7 @@ class Database:
|
|||||||
hbulk.append( [ hdata['tableName'],
|
hbulk.append( [ hdata['tableName'],
|
||||||
hdata['siteHandNo'],
|
hdata['siteHandNo'],
|
||||||
hdata['tourneyId'],
|
hdata['tourneyId'],
|
||||||
hdata['gameTypeId'],
|
hdata['gametypeId'],
|
||||||
hdata['sessionId'],
|
hdata['sessionId'],
|
||||||
hdata['gameSessionId'],
|
hdata['gameSessionId'],
|
||||||
hdata['startTime'],
|
hdata['startTime'],
|
||||||
|
|||||||
+1
-1
@@ -277,7 +277,7 @@ dealt whether they were seen in a 'dealt to' line
|
|||||||
""" Function to insert Hand into database
|
""" Function to insert Hand into database
|
||||||
Should not commit, and do minimal selects. Callers may want to cache commits
|
Should not commit, and do minimal selects. Callers may want to cache commits
|
||||||
db: a connected Database object"""
|
db: a connected Database object"""
|
||||||
self.hands['gameTypeId'] = self.dbid_gt
|
self.hands['gametypeId'] = self.dbid_gt
|
||||||
self.hands['seats'] = len(self.dbid_pids)
|
self.hands['seats'] = len(self.dbid_pids)
|
||||||
hbulk = db.storeHand(self.hands, hbulk, doinsert, printtest)
|
hbulk = db.storeHand(self.hands, hbulk, doinsert, printtest)
|
||||||
return hbulk
|
return hbulk
|
||||||
|
|||||||
Reference in New Issue
Block a user