diff --git a/ripple/userUtils.py b/ripple/userUtils.py index 1e88313..4e6838c 100644 --- a/ripple/userUtils.py +++ b/ripple/userUtils.py @@ -157,7 +157,7 @@ def getMaxCombo(userID, gameMode): :return: dictionary with result """ # Get stats - maxcombo = glob.db.fetch("""SELECT max_combo FROM scores WHERE userid = %s AND play_mode = %s ORDER BY max_combo DESC LIMIT 1""".format([userID], [gameMode]) + maxcombo = glob.db.fetch("""SELECT max_combo FROM scores WHERE userid = %s AND play_mode = %s ORDER BY max_combo DESC LIMIT 1""".format([userID], gameMode]) # Return stats + game rank return maxcombo