minor bug fix

master
Steve L. Nyemba 8 years ago
parent e2c7849744
commit f2bdf24e89

@ -97,7 +97,7 @@ def procs(id):
@app.route('/sandbox')
def sandbox():
global CONFIG
print CONFIG['monitor']
if 'sandbox' in CONFIG['monitor']:
#handler = HANDLERS['sandbox']['class']
#conf = HANDLERS['sandbox']['config']
@ -110,7 +110,7 @@ def sandbox():
handler.init(conf[id])
r.append (dict(handler.composite(),**{"label":id}))
else:
print 'Oops'
r = []

@ -138,7 +138,7 @@ class ThreadManager:
@staticmethod
def stop():
for id in ThreadManager.Pool :
thread = Pool[id]
thread = ThreadManager.Pool[id]
thread.stop()
@staticmethod
def status():

Loading…
Cancel
Save