Skip to content

Commit d6457dd

Browse files
authored
all the roles are right now
1 parent bcbd327 commit d6457dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)