From 515302a736a1aaa66f432ba165c8007b9e0c40f8 Mon Sep 17 00:00:00 2001 From: themousepotato Date: Wed, 17 Oct 2018 16:03:56 +0530 Subject: [PATCH] bug fixes --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 69f5496..d42a02c 100644 --- a/app.py +++ b/app.py @@ -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)