diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 5481d9b9..4131d4ff 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1855,7 +1855,7 @@ class Database: hbulk.append( [ hdata['tableName'], hdata['siteHandNo'], hdata['tourneyId'], - hdata['gameTypeId'], + hdata['gametypeId'], hdata['sessionId'], hdata['gameSessionId'], hdata['startTime'], diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index bbfd9273..f51c4074 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -277,7 +277,7 @@ dealt whether they were seen in a 'dealt to' line """ Function to insert Hand into database Should not commit, and do minimal selects. Callers may want to cache commits db: a connected Database object""" - self.hands['gameTypeId'] = self.dbid_gt + self.hands['gametypeId'] = self.dbid_gt self.hands['seats'] = len(self.dbid_pids) hbulk = db.storeHand(self.hands, hbulk, doinsert, printtest) return hbulk