This commit is contained in:
Josh Smith 2019-02-13 17:42:54 -05:00
parent d66af9dfb1
commit 5dcfdc8577

View File

@ -75,12 +75,6 @@ class handler(requestsManager.asyncRequestHandler):
bmk = 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
if "osuver" in self.request.arguments:
aeskey = "osu!-scoreburgr---------{}".format(self.get_argument("osuver"))
@ -150,7 +144,7 @@ class handler(requestsManager.asyncRequestHandler):
try:
length = userUtils.getBeatmapTime(beatmapInfo.beatmapID)
except Exception:
log.error("Maxi's mirror must be down, as getBeatmapTime failed. L144 submitModular")
log.error("Error while contacting mirror server.")
else:
length = math.ceil(int(self.get_argument("ft")) / 1000)