From dbde6b71161ca37ab49e61f155228298753d7deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20A=2E=20S=C3=A1nchez=20L=C3=B3pez?= Date: Mon, 14 Feb 2011 11:50:16 +0000 Subject: [PATCH] Fix bug when no txt was sent. Fixes #592 - Legacy-Id: 2856 --- ietf/submit/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ietf/submit/forms.py b/ietf/submit/forms.py index 7b4cf25c6..9b6862b61 100644 --- a/ietf/submit/forms.py +++ b/ietf/submit/forms.py @@ -135,8 +135,8 @@ class UploadForm(forms.Form): self.get_draft() self.group=self.get_working_group() self.check_previous_submission() - if self.draft.revision == '00' and self.in_first_cut_off: - raise forms.ValidationError(mark_safe(self.cutoff_warning)) + if self.draft.revision == '00' and self.in_first_cut_off: + raise forms.ValidationError(mark_safe(self.cutoff_warning)) self.check_tresholds() return super(UploadForm, self).clean()