Skip to content

Commit bcbd327

Browse files
committed
fix
1 parent c9d9d5d commit bcbd327

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

selections/blueprints/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def import_application():
115115
@auth.oidc_auth
116116
@before_request
117117
def delete_application(app_id, info=None):
118-
is_evals = 'eboard-evaluations' in info['group_list']
118+
is_evals = '/eboard-evaluations' in info['group_list']
119119
is_rtp = 'rtp' in info['group_list']
120120
if is_evals or is_rtp:
121121
scores = Submission.query.filter_by(application=app_id).all()
@@ -136,7 +136,7 @@ def delete_application(app_id, info=None):
136136
@auth.oidc_auth
137137
@before_request
138138
def get_application_creation(info=None):
139-
is_evals = 'eboard-evaluations' in info['group_list']
139+
is_evals = '/eboard-evaluations' in info['group_list']
140140
is_rtp = 'rtp' in info['group_list']
141141
if is_evals or is_rtp:
142142
return render_template('create.html', info=info)

0 commit comments

Comments
 (0)