Skip to content

Commit d686dfa

Browse files
committed
fix variable name
1 parent ec275f4 commit d686dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita_pet/handlers/study_handlers/edit_handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def post(self, study=None):
199199
# Check study and user access
200200
the_study = self._check_study_exists_and_user_access(study)
201201
# If the study is not sandbox, we use the short version
202-
if study.status != 'sandbox':
202+
if the_study.status != 'sandbox':
203203
form_factory = StudyEditorForm
204204

205205
# Get the form data from the request arguments

0 commit comments

Comments
 (0)