libsaria: Don't write empty text to client
This commit is contained in:
parent
c02bffb652
commit
e0dd940671
|
@ -5,15 +5,12 @@ from libsaria import controls
|
||||||
|
|
||||||
def play(write):
|
def play(write):
|
||||||
controls.play()
|
controls.play()
|
||||||
write("")
|
|
||||||
|
|
||||||
def pause(write):
|
def pause(write):
|
||||||
controls.pause()
|
controls.pause()
|
||||||
write("")
|
|
||||||
|
|
||||||
def play_id(write, id):
|
def play_id(write, id):
|
||||||
sources.play_id(long(id[0]))
|
sources.play_id(long(id[0]))
|
||||||
write("")
|
|
||||||
|
|
||||||
rpc = {
|
rpc = {
|
||||||
"play.html":(play, "html"),
|
"play.html":(play, "html"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user