def getTranslatedResume(): #change to ajax inInfo = request.args.get("inInfo",type=str) outInfo = Translate(inInfo) outInfo.tr1() if 'login' in session: g.db.execute("insert into resumes (username,outresume) values(?,?)", [session["login"]["username"],outInfo.tojson()]) g.db.commit() return jsonify(result=outInfo.tojson())
def getTranslatedResume(): #change to ajax inInfo = request.args.get("inInfo", type=str) outInfo = Translate(inInfo) outInfo.tr1() if 'login' in session: g.db.execute("insert into resumes (username,outresume) values(?,?)", [session["login"]["username"], outInfo.tojson()]) g.db.commit() return jsonify(result=outInfo.tojson())
def getTranslatedResume1(): #change to ajax inInfo = request.args.get("inInfo",type=str) outInfo = Translate(inInfo) outInfo.tr1() return jsonify(result=outInfo.tojson())
def getTranslatedResume1(): #change to ajax inInfo = request.args.get("inInfo", type=str) outInfo = Translate(inInfo) outInfo.tr1() return jsonify(result=outInfo.tojson())