libsaria: Don't write empty text to client

This commit is contained in:
Bryan Schumaker 2011-05-15 15:58:21 -04:00
parent c02bffb652
commit e0dd940671

View File

@ -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"),