Use cleaner syntax in fillDefaultData
This commit is contained in:
parent
e54c45b7d1
commit
1351cd6dd9
|
@ -1015,7 +1015,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);")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user