48
This commit is contained in:
parent
ed45506e64
commit
d26270ed73
|
@ -83,7 +83,7 @@ class handler(requestsManager.asyncRequestHandler):
|
|||
friends = True
|
||||
|
||||
# Console output
|
||||
fileNameShort = fileName[:32]+"..." if len(fileName) > 32 else fileName[:-4]
|
||||
fileNameShort = fileName[:48]+"..." if len(fileName) > 48 else fileName[:-4]
|
||||
log.info("[{}] Requested beatmap {}".format("RELAX" if scoreboardType == 1 and int(self.get_argument("mods")) & 128 else "VANILLA", fileNameShort))
|
||||
|
||||
# Create beatmap object and set its data
|
||||
|
|
|
@ -330,7 +330,9 @@ class handler(requestsManager.asyncRequestHandler):
|
|||
beatmap.incrementPlaycount(s.fileMd5, s.passed)
|
||||
|
||||
# Print out score submission
|
||||
log.info("[{}] {} has submitted a score on {}...".format("RELAX" if isRelaxing else "VANILLA", username, beatmapInfo.songName.encode().decode("ASCII", "ignore")))
|
||||
songNameFull = beatmapInfo.songName.encode().decode("ASCII", "ignore")
|
||||
songNameShort = songNameFull[:48]+"..." if len(songNameFull) > 48 else songNameFull[:-4]
|
||||
log.info("[{}] {} has submitted a score on {}...".format("RELAX" if isRelaxing else "VANILLA", username, songNameShort))
|
||||
|
||||
# Let the api know of this score
|
||||
if s.scoreID:
|
||||
|
|
Reference in New Issue
Block a user