mirror of
https://github.com/drmext/MonkeyBusiness.git
synced 2026-03-21 18:04:48 -05:00
Update gametop.py
This commit is contained in:
parent
bc6bc2ba10
commit
881d40477e
|
|
@ -9,7 +9,7 @@ from core_database import get_db
|
|||
|
||||
|
||||
router = APIRouter(prefix="/local", tags=["local"])
|
||||
router.model_whitelist = ["M32"]
|
||||
router.model_whitelist = ["M32", "L33", "L32", "K33", "K32", "J33", "J32"]
|
||||
|
||||
|
||||
def get_profile(cid):
|
||||
|
|
@ -32,6 +32,10 @@ async def gitadora_gametop_get(ver: str, request: Request):
|
|||
g = "guitarfreaks"
|
||||
elif spec == "B":
|
||||
g = "drummania"
|
||||
elif spec == "C":
|
||||
g = "guitarfreaksdelta"
|
||||
elif spec == "D":
|
||||
g = "drummaniadelta"
|
||||
|
||||
data = request_info["root"][0].find("player")
|
||||
no = int(data.attrib["no"])
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user