Fix the 'no txt file' bug. Fixes #603

- Legacy-Id: 2866
This commit is contained in:
Emilio A. Sánchez López 2011-03-01 08:34:32 +00:00
parent 9ef42cfc09
commit 8756407eaf

View file

@ -137,7 +137,7 @@ class UploadForm(forms.Form):
self.check_previous_submission()
if self.draft.revision == '00' and self.in_first_cut_off:
raise forms.ValidationError(mark_safe(self.cutoff_warning))
self.check_tresholds()
self.check_tresholds()
return super(UploadForm, self).clean()
def check_tresholds(self):