Update userUtils.py
This commit is contained in:
parent
fa11f5286a
commit
9bb2c9f493
|
@ -19,7 +19,7 @@ def logUserLogX(log,fileMd5,userID, gameMode):
|
||||||
|
|
||||||
def getBeatmapTime(beatmapID):
|
def getBeatmapTime(beatmapID):
|
||||||
p = 0
|
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":
|
if r != "null\n":
|
||||||
p = json.loads(r)['TotalLength']
|
p = json.loads(r)['TotalLength']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user