From 6ba7f36a0e08594f4f6b4399654d13d104899540 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sun, 22 Aug 2010 07:32:10 +0200 Subject: [PATCH] fix import of tourneys --- pyfpdb/Database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index de32791f..d5b06543 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -2063,7 +2063,7 @@ class Database: #print "the query:",self.sql.query['getTourneyTypeId'].replace('%s', self.sql.query['placeholder']) cursor.execute (self.sql.query['getTourneyTypeId'].replace('%s', self.sql.query['placeholder']), (hand.siteId, hand.buyinCurrency, hand.buyin, hand.fee, hand.gametype['category'], - hand.gametype['limitType'], hand.maxSeats, hand.isKO, + hand.gametype['limitType'], hand.maxseats, hand.isKO, hand.isRebuy, hand.isAddOn, hand.speed, hand.isShootout, hand.isMatrix) ) result=cursor.fetchone() @@ -2074,7 +2074,7 @@ class Database: except TypeError: #this means we need to create a new entry cursor.execute (self.sql.query['insertTourneyType'].replace('%s', self.sql.query['placeholder']), (hand.siteId, hand.buyinCurrency, hand.buyin, hand.fee, hand.gametype['category'], - hand.gametype['limitType'], hand.maxSeats, + hand.gametype['limitType'], hand.maxseats, hand.buyInChips, hand.isKO, hand.koBounty, hand.isRebuy, hand.isAddOn, hand.speed, hand.isShootout, hand.isMatrix, hand.added, hand.addedCurrency) )