From 25963a8eb76c716bc44835f2710d3104b5616b76 Mon Sep 17 00:00:00 2001 From: depreciate Date: Sat, 5 Jan 2019 19:57:01 +1030 Subject: [PATCH] sdsd --- ripple/userUtils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ripple/userUtils.py b/ripple/userUtils.py index 276eafb..79ae90a 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, 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]) +def logUserLog(log,fileMd5,userID, gameMode, scoreid): + glob.db.execute("INSERT INTO users_logs (user, log, time, game_mode, scoreid, beatmap_md5) VALUES (%s, %s, %s, %s, %s, %s)",[userID, log, int(time.time()), gameMode, scoreid, 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])