make it run with pgsql (gives pretty strange results tho)
This commit is contained in:
parent
f77e8ec714
commit
471726d450
|
@ -2053,8 +2053,12 @@ class Database:
|
||||||
result=cursor.fetchone()
|
result=cursor.fetchone()
|
||||||
|
|
||||||
if result != None:
|
if result != None:
|
||||||
expectedValues = ('comment', 'tourneyName', 'matrixIdProcessed', 'totalRebuyCount', 'totalAddOnCount',
|
if self.backend == Database.PGSQL:
|
||||||
'prizepool', 'startTime', 'entries', 'commentTs', 'endTime')
|
expectedValues = ('comment', 'tourneyname', 'matrixIdProcessed', 'totalRebuyCount', 'totalAddOnCount',
|
||||||
|
'prizepool', 'startTime', 'entries', 'commentTs', 'endTime')
|
||||||
|
else:
|
||||||
|
expectedValues = ('comment', 'tourneyName', 'matrixIdProcessed', 'totalRebuyCount', 'totalAddOnCount',
|
||||||
|
'prizepool', 'startTime', 'entries', 'commentTs', 'endTime')
|
||||||
updateDb=False
|
updateDb=False
|
||||||
resultDict = dict(zip(columnNames, result))
|
resultDict = dict(zip(columnNames, result))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user