Skip to content

Commit

Permalink
fix: 修复CI警告问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Jul 11, 2024
1 parent 27fecd7 commit e3d60d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xiaomusic/httpserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

Expand Down

0 comments on commit e3d60d3

Please sign in to comment.