This commit is contained in:
2016-11-03 18:38:13 +01:00
parent 89e9d81e64
commit 17f4b749b4

View File

@@ -55,7 +55,7 @@ def index():
act.project = id_to_proj[act.project] act.project = id_to_proj[act.project]
try: try:
act.link = current_attract.link_for_activity(act) act.link = current_attract.link_for_activity(act)
except pillarsdk.ResourceNotFound: except ValueError:
act.link = None act.link = None
return render_template('attract/index.html', return render_template('attract/index.html',