diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index b8ddf4f0..cca8800d 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -2949,7 +2949,7 @@ class Sql: INNER JOIN Players p on (p.Id = hp.playerId) WHERE hp.playerId in AND date_format(h.startTime, '%Y-%m-%d') - AND gt.type is 'ring' + AND gt.type LIKE 'ring' ORDER by time""" elif db_server == 'postgresql': self.query['sessionStats'] = """