From 17f4b749b409c691d8ba015392217adee1619e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 3 Nov 2016 18:38:13 +0100 Subject: [PATCH] Oops --- attract/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attract/routes.py b/attract/routes.py index 26ff5e0..2c5d1a1 100644 --- a/attract/routes.py +++ b/attract/routes.py @@ -55,7 +55,7 @@ def index(): act.project = id_to_proj[act.project] try: act.link = current_attract.link_for_activity(act) - except pillarsdk.ResourceNotFound: + except ValueError: act.link = None return render_template('attract/index.html',