ok brother does this work?

This commit is contained in:
depreciate 2019-02-05 04:32:06 +10:30
parent 9e12e8733a
commit ecd574fcd0
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ def getUserStatsRx(userID, gameMode):
:return: dictionary with result :return: dictionary with result
""" """
modeForDB = gameModes.getGameModeForDB(gameMode) modeForDB = gameModes.getGameModeForDB(gameMode)
if gameMode == MANIA: if gameMode == 3:
# Get stats # Get stats
stats = glob.db.fetch("""SELECT stats = glob.db.fetch("""SELECT
@ -122,7 +122,7 @@ def getUserStatsAp(userID, gameMode):
:return: dictionary with result :return: dictionary with result
""" """
modeForDB = gameModes.getGameModeForDB(gameMode) modeForDB = gameModes.getGameModeForDB(gameMode)
if gameMode == MANIA: if gameMode == 3:
# Get stats # Get stats
stats = glob.db.fetch("""SELECT stats = glob.db.fetch("""SELECT