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',