Update main.py

This commit is contained in:
Patrice Matz 2019-06-15 19:19:31 +02:00 committed by GitHub
parent 2f35ed98b6
commit f4ed00581a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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