From b5e481412ed1da06417c059d02c322701ae964c2 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Wed, 11 Aug 2010 06:11:11 +0200 Subject: [PATCH] fix session stats in pgsql --- pyfpdb/SQL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index cca8800d..5d4a0235 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -2961,7 +2961,7 @@ class Sql: INNER JOIN Players p on (p.Id = hp.playerId) WHERE hp.playerId in AND h.startTime - AND gt.type is 'ring' + AND gt.type LIKE 'ring' ORDER by time""" elif db_server == 'sqlite': self.query['sessionStats'] = """