fix: 修复CI警告问题
This commit is contained in:
parent
27fecd788b
commit
e3d60d3f2e
@ -67,7 +67,7 @@ async def getvolume():
|
||||
async def setvolume():
|
||||
data = request.get_json()
|
||||
did = data.get("did")
|
||||
volume = data.get("volume")
|
||||
volume = int(data.get("volume"))
|
||||
if not xiaomusic.did_exist(did):
|
||||
return {"ret": "Did not exist"}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user