when you push the wronf change
This commit is contained in:
parent
e454cb2661
commit
ccf655d529
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user