This commit is contained in:
depreciate 2019-02-11 22:08:29 +10:30
parent 62b887edb0
commit fe37bc42f0

View File

@ -427,7 +427,7 @@ class handler(requestsManager.asyncRequestHandler):
# Get rank info (current rank, pp/score to next rank, user who is 1 rank above us) # Get rank info (current rank, pp/score to next rank, user who is 1 rank above us)
rankInfo = leaderboardHelper.getRankInfo(userID, s.gameMode) rankInfo = leaderboardHelper.getRankInfo(userID, s.gameMode)
if newCharts: if newCharts:
log.debug("Using new charts") log.debug("Using new charts")
dicts = [ dicts = [
collections.OrderedDict([ collections.OrderedDict([
@ -446,7 +446,7 @@ class handler(requestsManager.asyncRequestHandler):
userID, oldUserData, newUserData, beatmapInfo, s, new_achievements, oldRank, rankInfo["currentRank"] userID, oldUserData, newUserData, beatmapInfo, s, new_achievements, oldRank, rankInfo["currentRank"]
) )
] ]
else: else:
log.debug("Using old charts") log.debug("Using old charts")
dicts = [ dicts = [
collections.OrderedDict([ collections.OrderedDict([