From f9397212aec55c490ca21fcdca3834a1b760f0aa Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Fri, 20 Mar 2020 10:28:03 +0100 Subject: [PATCH] remove useless line --- smash/web/views/subject.py | 1 - 1 file changed, 1 deletion(-) diff --git a/smash/web/views/subject.py b/smash/web/views/subject.py index 0c02810c..66834660 100644 --- a/smash/web/views/subject.py +++ b/smash/web/views/subject.py @@ -82,7 +82,6 @@ def subject_edit(request, id): subject_form.save() # check if subject was marked as dead or resigned if 'type' in study_subject_form.changed_data and old_type != study_subject_form.cleaned_data['type']: - SUBJECT_TYPE_CHOICES worker = Worker.get_by_user(request.user) old_value = SUBJECT_TYPE_CHOICES.get(old_type, old_type) new_value = SUBJECT_TYPE_CHOICES.get(study_subject_form.cleaned_data['type'], study_subject_form.cleaned_data['type']) -- GitLab