Update main.py
This commit is contained in:
parent
2f35ed98b6
commit
f4ed00581a
|
|
@ -22,10 +22,10 @@ def index():
|
|||
def test():
|
||||
global playing, p
|
||||
if playing:
|
||||
return 200
|
||||
else:
|
||||
playing = False
|
||||
p.stop()
|
||||
return 200
|
||||
else:
|
||||
return 406
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue