rushaux: fix boolean SELECT - should now work for all db's

This commit is contained in:
gimick 2011-04-04 10:54:54 +01:00
parent ed5234d24a
commit d349d41e29

View File

@ -243,7 +243,7 @@ class RushNotes(Aux_Window):
c.execute(("SELECT handId, position, startCards, street0Aggr, tableName " + c.execute(("SELECT handId, position, startCards, street0Aggr, tableName " +
"FROM Hands, HandsPlayers " + "FROM Hands, HandsPlayers " +
"WHERE HandsPlayers.handId = Hands.id " + "WHERE HandsPlayers.handId = Hands.id " +
"AND street0VPI = True " + "AND street0VPI " +
"AND startCards > 0 " + "AND startCards > 0 " +
"AND playerId = %d " + "AND playerId = %d " +
"ORDER BY startCards DESC " + "ORDER BY startCards DESC " +