removed more print statements

community
Steve L. Nyemba 6 years ago
parent 58e675c789
commit 9d61485274

@ -1107,7 +1107,7 @@ def prepare_plot(id):
q.append({"info":"Monitoring CPU consumption trends","ylabel":"% used","node":node,"type":"bar","x":XCPU,"labels":np.arange(1,xn_).tolist(),"series":names,"title":"CPU Usage"})
key = 'apps@'+node
session[key] = q
print session.keys()
return (key,200)
except Exception,e:
print (e)
@ -1118,7 +1118,7 @@ def prepare_plot(id):
@app.route("/1/plot/<format>/<id>/<key>",methods=['GET'])
def get_charts(format,id,key):
print session.keys()
if key not in session :
context = SYS_ARGS.PARAMS['context'] if 'context' in SYS_ARGS.PARAMS else ''
return render_template('error.html',context=context,caption='404',msg='Session key NOT set in session')

Loading…
Cancel
Save