Update userUtils.py

This commit is contained in:
qewc 2019-02-24 16:59:08 +00:00 committed by GitHub
parent fa11f5286a
commit 9bb2c9f493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def logUserLogX(log,fileMd5,userID, gameMode):
def getBeatmapTime(beatmapID):
p = 0
r = requests.get("http://cg.mxr.lol/api/b/{}".format(beatmapID)).text
r = requests.get("http://storage.ripple.moe/api/b/{}".format(beatmapID)).text
if r != "null\n":
p = json.loads(r)['TotalLength']