a
This commit is contained in:
parent
d66af9dfb1
commit
5dcfdc8577
|
@ -75,12 +75,6 @@ class handler(requestsManager.asyncRequestHandler):
|
||||||
bmk = None
|
bmk = None
|
||||||
bml = None
|
bml = None
|
||||||
|
|
||||||
# failed time?
|
|
||||||
if "ft" in self.request.arguments:
|
|
||||||
log.cmyui("true: {}".format(self.get_argument("ft")), discord='cm')
|
|
||||||
else:
|
|
||||||
log.cmyui("false", discord='cm')
|
|
||||||
|
|
||||||
# Get right AES Key
|
# Get right AES Key
|
||||||
if "osuver" in self.request.arguments:
|
if "osuver" in self.request.arguments:
|
||||||
aeskey = "osu!-scoreburgr---------{}".format(self.get_argument("osuver"))
|
aeskey = "osu!-scoreburgr---------{}".format(self.get_argument("osuver"))
|
||||||
|
@ -150,7 +144,7 @@ class handler(requestsManager.asyncRequestHandler):
|
||||||
try:
|
try:
|
||||||
length = userUtils.getBeatmapTime(beatmapInfo.beatmapID)
|
length = userUtils.getBeatmapTime(beatmapInfo.beatmapID)
|
||||||
except Exception:
|
except Exception:
|
||||||
log.error("Maxi's mirror must be down, as getBeatmapTime failed. L144 submitModular")
|
log.error("Error while contacting mirror server.")
|
||||||
else:
|
else:
|
||||||
length = math.ceil(int(self.get_argument("ft")) / 1000)
|
length = math.ceil(int(self.get_argument("ft")) / 1000)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user