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