Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
themousepotato committed Oct 17, 2018
1 parent 12586a8 commit 515302a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def main():
prof = request.args.get('prof')

if prof:
tb, times, dept, prof = fetch_results(prof)
return render_template('main.html', name=prof, data=tb, times=times, profs=profs, dept=dept)
tb, times, dept, website, prof = fetch_results(prof)
return render_template('main.html', name=prof, website=website, data=tb, times=times, profs=profs, dept=dept, error=False)

else:
return render_template('main.html', profs=profs)
Expand Down

0 comments on commit 515302a

Please sign in to comment.