when you push the wronf change

This commit is contained in:
depreciate 2019-02-03 23:28:50 +10:30
parent e454cb2661
commit ccf655d529

View File

@ -25,7 +25,7 @@ def getBeatmapTime(beatmapID):
return p
def incrementPlaytime(userID, gameMode=0, length=0, mode):
def incrementPlaytime(userID, gameMode=0, length=0):
modeForDB = gameModes.getGameModeForDB(gameMode)
result = glob.db.fetch("SELECT playtime_{gm} as playtime FROM users_stats WHERE id = %s".format(gm=modeForDB), [userID])
if result is not None:
@ -792,6 +792,7 @@ def incrementReplaysWatched(userID, gameMode):
"UPDATE users_stats SET replays_watched_{mode}=replays_watched_{mode}+1 WHERE id = %s LIMIT 1".format(
mode=mode), [userID])
def getAqn(userID):
"""
Check if AQN folder was detected for userID