This commit is contained in:
depreciate 2019-02-05 11:39:48 +10:30
parent 19f4d987ac
commit dcb4d3db8d

View File

@ -85,8 +85,9 @@ def getUserStatsRx(userID, gameMode):
:return: dictionary with result :return: dictionary with result
""" """
modeForDB = gameModes.getGameModeForDB(gameMode) modeForDB = gameModes.getGameModeForDB(gameMode)
# Get stats # Get stats
stats = glob.db.fetch("""SELECT stats = glob.db.fetch("""SELECT
ranked_score_{gm}_rx AS rankedScore, ranked_score_{gm}_rx AS rankedScore,
avg_accuracy_{gm}_rx AS accuracy, avg_accuracy_{gm}_rx AS accuracy,
playcount_{gm}_rx AS playcount, playcount_{gm}_rx AS playcount,