From d349d41e29752e1e5631164a46b219e2d3ff8e32 Mon Sep 17 00:00:00 2001 From: gimick Date: Mon, 4 Apr 2011 10:54:54 +0100 Subject: [PATCH] rushaux: fix boolean SELECT - should now work for all db's --- pyfpdb/RushNotesAux.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/RushNotesAux.py b/pyfpdb/RushNotesAux.py index 7620ceb3..a62910cb 100644 --- a/pyfpdb/RushNotesAux.py +++ b/pyfpdb/RushNotesAux.py @@ -243,7 +243,7 @@ class RushNotes(Aux_Window): c.execute(("SELECT handId, position, startCards, street0Aggr, tableName " + "FROM Hands, HandsPlayers " + "WHERE HandsPlayers.handId = Hands.id " + - "AND street0VPI = True " + + "AND street0VPI " + "AND startCards > 0 " + "AND playerId = %d " + "ORDER BY startCards DESC " +