mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
you'll never see me coming
This commit is contained in:
parent
85a358c08a
commit
0fe277e826
1 changed files with 4 additions and 4 deletions
8
db.py
8
db.py
|
@ -650,10 +650,10 @@ class Osu(Base, Mini):
|
||||||
r3.raise_for_status()
|
r3.raise_for_status()
|
||||||
j3 = r3.json()[0]
|
j3 = r3.json()[0]
|
||||||
self.osu_name = j0["username"]
|
self.osu_name = j0["username"]
|
||||||
std.value = float(j0["pp_raw"])
|
std.value = float(j0["pp_raw"] or 0)
|
||||||
taiko.value = float(j1["pp_raw"])
|
taiko.value = float(j1["pp_raw"] or 0)
|
||||||
catch.value = float(j2["pp_raw"])
|
catch.value = float(j2["pp_raw"] or 0)
|
||||||
mania.value = float(j3["pp_raw"])
|
mania.value = float(j3["pp_raw"] or 0)
|
||||||
self.std_pp = std.value
|
self.std_pp = std.value
|
||||||
self.taiko_pp = taiko.value
|
self.taiko_pp = taiko.value
|
||||||
self.catch_pp = catch.value
|
self.catch_pp = catch.value
|
||||||
|
|
Loading…
Reference in a new issue