From b59098baa3e5e2801dc29fb0d0db5500f34a2b1a Mon Sep 17 00:00:00 2001 From: rootcoma Date: Thu, 14 Nov 2013 19:53:39 -0800 Subject: [PATCH] testing branches --- plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.py b/plugin.py index 74829b1..a4f43ae 100644 --- a/plugin.py +++ b/plugin.py @@ -2606,14 +2606,14 @@ class TriviaTime(callbacks.Plugin): c = self.conn.cursor() weekSql = '''select id, username, - sum(points_made), + sum(points_made) as points, sum(num_answered) from triviauserlog where (''' weekSql += weekSqlString weekSql += ''' ) and channel_canonical=? group by username_canonical - order by points_made desc + order by points desc limit 10 ''' channelCanonical = ircutils.toLower(channel)