fuck this isnt php

This commit is contained in:
depreciate 2019-02-27 20:31:38 +10:30
parent b6b5f4051b
commit efc88c3027

View File

@ -157,7 +157,7 @@ def getMaxCombo(userID, gameMode):
:return: dictionary with result :return: dictionary with result
""" """
# Get stats # Get stats
maxcombo = glob.db.fetch("""SELECT max_combo FROM scores WHERE userid = ? AND play_mode = ? 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 stats + game rank
return maxcombo return maxcombo