Debug print

This commit is contained in:
dave 2014-08-26 14:14:06 -07:00
parent a6c1f9b73e
commit 33618facaf
2 changed files with 4 additions and 0 deletions

2
app.py
View File

@ -257,6 +257,8 @@ if __name__ == '__main__' or 'uwsgi' in __name__:
@cherrypy.expose
def getRecStatus(self, id):
print(REC)
print(REC.threads)
return json.dumps({"data":REC.streamStatus(int(id))})
pysite = siteRoot()

View File

@ -21,6 +21,8 @@ class recordTick(Thread):
self.timer = scheduler(time.time, time.sleep)
self.start()
return self
def run(self):
time.sleep(3)