We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec275f4 commit d686dfaCopy full SHA for d686dfa
qiita_pet/handlers/study_handlers/edit_handlers.py
@@ -199,7 +199,7 @@ def post(self, study=None):
199
# Check study and user access
200
the_study = self._check_study_exists_and_user_access(study)
201
# If the study is not sandbox, we use the short version
202
- if study.status != 'sandbox':
+ if the_study.status != 'sandbox':
203
form_factory = StudyEditorForm
204
205
# Get the form data from the request arguments
0 commit comments