Skip to content

Commit

Permalink
Seriously just work, for realsy
Browse files Browse the repository at this point in the history
  • Loading branch information
BraeWebb committed Aug 19, 2018
1 parent d52ee1d commit d7590b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ def availability():

@app.route('/allocations', methods=['POST'])
def allocations():
tutors = json.loads(request.form.get('tutors').replace("'", '"'))
return render_template("allocations.html", tutors=tutors)
print(request.form.get('tutors'))
#tutors = json.loads(request.form.get('tutors').replace("'", '"'))
return render_template("allocations.html", tutors=request.form.get('tutors'))


@app.route('/times')
Expand Down

0 comments on commit d7590b3

Please sign in to comment.