File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ def import_application():
116116@before_request
117117def 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
138138def 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 :
You can’t perform that action at this time.
0 commit comments