Merge branch 'master' of git://repo.or.cz/fpbd-bostik

This commit is contained in:
Worros 2009-09-23 13:22:35 +08:00
commit 4e361e383c

View File

@ -1012,7 +1012,7 @@ class Database:
if self.backend == self.SQLITE:
c.execute("INSERT INTO TourneyTypes (id, siteId, buyin, fee) VALUES (NULL, 1, 0, 0);")
elif self.backend == self.PGSQL:
c.execute("insert into TourneyTypes values (0,1,0,0,0,'0','0',null,'0','0','0');")
c.execute("insert into TourneyTypes values (0,1,0,0,0,False,False,null,False,False,False);")
else:
c.execute("insert into TourneyTypes values (0,1,0,0,0,0,0,null,0,0,0);")