Merge pull request #8 from depreciate/master

ddd
This commit is contained in:
Josh Smith 2019-02-11 06:53:34 -05:00 committed by GitHub
commit cd08451cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,7 +436,7 @@ class handler(requestsManager.asyncRequestHandler):
("beatmapSetId", beatmapInfo.beatmapSetID), ("beatmapSetId", beatmapInfo.beatmapSetID),
("beatmapPlaycount", beatmapInfo.playcount + 1), ("beatmapPlaycount", beatmapInfo.playcount + 1),
("beatmapPasscount", beatmapInfo.passcount + (s.completed == 3)), ("beatmapPasscount", beatmapInfo.passcount + (s.completed == 3)),
("approvedDate", beatmapInfo.rankingDate) ("approvedDate", "")
]), ]),
BeatmapChart( BeatmapChart(
oldPersonalBest if s.completed == 3 else currentPersonalBest, oldPersonalBest if s.completed == 3 else currentPersonalBest,
@ -455,7 +455,7 @@ class handler(requestsManager.asyncRequestHandler):
("beatmapSetId", beatmapInfo.beatmapSetID), ("beatmapSetId", beatmapInfo.beatmapSetID),
("beatmapPlaycount", beatmapInfo.playcount), ("beatmapPlaycount", beatmapInfo.playcount),
("beatmapPasscount", beatmapInfo.passcount), ("beatmapPasscount", beatmapInfo.passcount),
("approvedDate", beatmapInfo.rankingDate) ("approvedDate", "")
]), ]),
collections.OrderedDict([ collections.OrderedDict([
("chartId", "overall"), ("chartId", "overall"),