Skip to content

Commit f65e9da

Browse files
committed
My ~~friend~~ PEP8...
1 parent ee9183d commit f65e9da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qiita_pet/handlers/study_handlers/description_handlers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,6 @@ def update_investigation_type(self, study, user, callback):
523523
'edit-new-investigation-type', None)
524524

525525
pt = PrepTemplate(prep_id)
526-
rd_id = pt.raw_data
527526

528527
investigation_type = self._process_investigation_type(
529528
edit_investigation_type, edit_user_defined_investigation_type,
@@ -743,7 +742,7 @@ def delete_prep_template(self, study, user, callback):
743742
msg = ("Couldn't remove prep template: %s" % str(e))
744743
msg_level = "danger"
745744

746-
callback((msg, msg_level, 'prep_template_tab', None, None))
745+
callback((msg, msg_level, 'prep_template_tab', prep_id, None))
747746

748747
def delete_preprocessed_data(self, study, user, callback):
749748
"""Delete the selected preprocessed data

0 commit comments

Comments
 (0)