Skip to content

Commit 54ae061

Browse files
committed
chom
1 parent 1eff1d3 commit 54ae061

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
@@ -116,7 +116,7 @@ def import_application():
116116
@before_request
117117
def delete_application(app_id, info=None):
118118
is_evals = '/eboard-evaluations' in info['group_list']
119-
is_rtp = 'rtp' in info['group_list']
119+
is_rtp = '/active_rtp' in info['group_list']
120120
if is_evals or is_rtp:
121121
scores = Submission.query.filter_by(application=app_id).all()
122122
applicant_info = Applicant.query.filter_by(id=app_id).first()
@@ -137,7 +137,7 @@ def delete_application(app_id, info=None):
137137
@before_request
138138
def get_application_creation(info=None):
139139
is_evals = '/eboard-evaluations' in info['group_list']
140-
is_rtp = 'rtp' in info['group_list']
140+
is_rtp = '/active_rtp' in info['group_list']
141141
if is_evals or is_rtp:
142142
return render_template('create.html', info=info)
143143
else:

0 commit comments

Comments
 (0)