Debug print
This commit is contained in:
parent
a6c1f9b73e
commit
33618facaf
2
app.py
2
app.py
|
@ -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()
|
||||
|
|
|
@ -21,6 +21,8 @@ class recordTick(Thread):
|
|||
self.timer = scheduler(time.time, time.sleep)
|
||||
|
||||
self.start()
|
||||
|
||||
return self
|
||||
|
||||
def run(self):
|
||||
time.sleep(3)
|
||||
|
|
Loading…
Reference in New Issue