LOKL
This commit is contained in:
parent
62b887edb0
commit
fe37bc42f0
|
@ -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([
|
||||||
|
|
Reference in New Issue
Block a user