From 0090128249471044747b9fa206f3f0826a8bc9de Mon Sep 17 00:00:00 2001 From: David Martin Date: Sun, 21 May 2017 17:05:49 +1000 Subject: [PATCH] Fix clened_data typos in forms.py. This is where linters shine. Either pylint or pyflake discovered these typos and even suggested the correct name. --- src/documents/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/documents/forms.py b/src/documents/forms.py index e391da7af..6bba3d55b 100644 --- a/src/documents/forms.py +++ b/src/documents/forms.py @@ -84,7 +84,7 @@ class UploadForm(forms.Form): def clean(self): - corresp = self.clened_data.get("correspondent") + corresp = self.cleaned_data.get("correspondent") title = self.cleaned_data.get("title") signature = self.cleaned_data.get("signature") @@ -100,7 +100,7 @@ class UploadForm(forms.Form): form do that as well. Think of it as a poor-man's queue server. """ - correspondent = self.clened_data.get("correspondent") + correspondent = self.cleaned_data.get("correspondent") title = self.cleaned_data.get("title") document = self.cleaned_data.get("document")