Debug for status check

This commit is contained in:
dave 2014-08-26 13:55:13 -07:00
parent dca99b33ee
commit 926e60b872
2 changed files with 2 additions and 2 deletions

2
app.py
View File

@ -257,7 +257,7 @@ if __name__ == '__main__' or 'uwsgi' in __name__:
@cherrypy.expose
def getRecStatus(self, id):
return REC.streamStatus(int(id))
return str(REC.streamStatus(int(id)))
pysite = siteRoot()
pysite.api = api()

View File

@ -71,7 +71,7 @@ class recordTick(Thread):
def streamStatus(self, id):
if not id in self.threads:
return 0
return -1
return self.threads[id].status