From 00a85936316259b9cde846aa40fc5a0ac2ffbe5f Mon Sep 17 00:00:00 2001 From: Worros Date: Tue, 13 Oct 2009 14:12:25 +0800 Subject: [PATCH] Fix table re-create bug in fillDefaultData --- pyfpdb/Database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index 60ce39aa..b283a716 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1152,7 +1152,7 @@ class Database: elif self.backend == self.MYSQL_INNODB: c.execute("""insert into TourneyTypes(id, siteId, buyin, fee, maxSeats, knockout ,rebuyOrAddon, speed, headsUp, shootout, matrix) - values (1, 0, 0, 0, False, False, null, False, False, False);""") + values (DEFAULT, 1, 0, 0, 0, False, False, null, False, False, False);""") #end def fillDefaultData