From d652eb5d3cf7cb47aa8cd74c9526f30cab01fd35 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Sat, 26 Jun 2010 12:24:30 +0200 Subject: [PATCH] repaired sqlite db creation --- pyfpdb/Database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index dbca1db4..d43133cb 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1357,9 +1357,9 @@ class Database: c.execute("INSERT INTO Sites (name,code) VALUES ('Carbon', 'CA')") c.execute("INSERT INTO Sites (name,code) VALUES ('PKR', 'PK')") if self.backend == self.SQLITE: - c.execute("""INSERT INTO TourneyTypes (id, siteId, currency, buyin, fee, buyInChips, maxSeats, knockout - ,rebuy, addOn, speed, headsUp, shootout, matrix) - VALUES (NULL, 1, 'USD', 0, 0, 0, False, False, False, NULL, False, False, False);""") + c.execute("""INSERT INTO TourneyTypes (id, siteId, currency, buyin, fee, buyInChips, maxSeats, knockout, + rebuy, addOn, speed, headsUp, shootout, matrix) + VALUES (NULL, 1, 'USD', 0, 0, 0, 0, 0, 0, 0, NULL, 0, 0, 0);""") elif self.backend == self.PGSQL: c.execute("""insert into TourneyTypes(siteId, currency, buyin, fee, buyInChips, maxSeats, knockout ,rebuy, addOn, speed, headsUp, shootout, matrix)