Пример #1
0
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())
Пример #2
0
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())
Пример #3
0
def getTranslatedResume1():  #change to ajax
	inInfo = request.args.get("inInfo",type=str)
	outInfo = Translate(inInfo)
	outInfo.tr1()
	return jsonify(result=outInfo.tojson())
Пример #4
0
def getTranslatedResume1():  #change to ajax
    inInfo = request.args.get("inInfo", type=str)
    outInfo = Translate(inInfo)
    outInfo.tr1()
    return jsonify(result=outInfo.tojson())