From b47addfa395d2718bc92a96e1363d1112c7a24e2 Mon Sep 17 00:00:00 2001 From: depreciate Date: Sat, 5 Jan 2019 19:50:50 +1030 Subject: [PATCH] fuck you --- ripple/userUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ripple/userUtils.py b/ripple/userUtils.py index b3157f8..276eafb 100644 --- a/ripple/userUtils.py +++ b/ripple/userUtils.py @@ -10,8 +10,8 @@ from common.log import logUtils as log from common.ripple import passwordUtils, scoreUtils from objects import glob -def logUserLog(log,fileMd5,userID, gameMode, rank): - glob.db.execute("INSERT INTO users_logs (user, log, time, game_mode, rank, beatmap_md5) VALUES (%s, %s, %s, %s, %s, %s)",[userID, log, int(time.time()), gameMode, rank, fileMd5]) +def logUserLog(log,fileMd5,userID, gameMode, acc): + glob.db.execute("INSERT INTO users_logs (user, log, time, game_mode, acc, beatmap_md5) VALUES (%s, %s, %s, %s, %s, %s)",[userID, log, int(time.time()), gameMode, acc, fileMd5]) return True def logUserLogX(log,fileMd5,userID, gameMode): glob.db.execute("INSERT INTO users_logs (user, log, time, game_mode, beatmap_md5) VALUES (%s, %s, %s, %s, %s)",[userID, log, int(time.time()), gameMode, fileMd5])