From 797f04aaab715c820dee94892c07176dfd113a87 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Tue, 16 Feb 2010 23:13:12 +0000 Subject: [PATCH] fix problem with position stats in sqlite --- pyfpdb/GuiPlayerStats.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/GuiPlayerStats.py b/pyfpdb/GuiPlayerStats.py index cb94859d..f7789164 100644 --- a/pyfpdb/GuiPlayerStats.py +++ b/pyfpdb/GuiPlayerStats.py @@ -520,7 +520,7 @@ class GuiPlayerStats (threading.Thread): blindtest = str(tuple(nolims)) blindtest = blindtest.replace("L", "") blindtest = blindtest.replace(",)",")") - bbtest = bbtest + blindtest + ' ) )' + bbtest = bbtest + blindtest + ' ) ) )' else: bbtest = bbtest + '(-1) ) )' if type == 'ring': @@ -539,7 +539,7 @@ class GuiPlayerStats (threading.Thread): query = query.replace("", "") groupLevels = "show" not in str(limits) if groupLevels: - query = query.replace("", "-1") + query = query.replace("", "p.name") else: query = query.replace("", "h.gameTypeId")