Skip to content
Snippets Groups Projects
Commit f9397212 authored by Carlos Vega's avatar Carlos Vega
Browse files

remove useless line

parent 217009b9
No related branches found
No related tags found
1 merge request!229Feature/provenance
......@@ -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'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment