ok brother does this work?
This commit is contained in:
parent
9e12e8733a
commit
ecd574fcd0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user