Commit ed19b8a3 authored by Arman Sobhi's avatar Arman Sobhi

Merge branch 'master' of

parents 0bc17fac 90a68aa4
\ No newline at end of file
[submodule "gradaudit"]
path = gradaudit
url =
Subproject commit 1bccd6c5a1f2e93312ff2ecd73d8113167e3df06
from flask import Flask, render_template
import os
from flask import Flask, render_template, request
app = Flask(__name__)
def hello_world():
return render_template('GASGUI.html')
def input_form():
return render_template('GASGUI.html')
@app.route('/submit', methods=['POST'])
def submit():
name = request.form['name']
degree = request.form['degreeType']
major = request.form['MajorList']
year = request.form['YearList']
spec = request.form['SpecializationOfDegree'].lower()
classes = request.form['classesTaken'].replace(' ','')
transcript = '{0}\n'\
degree, major, year, spec,
with open('temp.csv', 'w') as fil:
response = os.popen('./').read()
return transcript+response
cp temp.csv gradaudit/transcripts/
cd gradaudit
python2 transcripts/temp.csv
sasp main.lp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment