diff options
Diffstat (limited to 'chimere/forms.py')
-rw-r--r-- | chimere/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chimere/forms.py b/chimere/forms.py index 618b529..aae86c6 100644 --- a/chimere/forms.py +++ b/chimere/forms.py @@ -169,7 +169,7 @@ class ImporterAdminForm(forms.ModelForm): not self.cleaned_data.get('zipped'): raise forms.ValidationError(_(u"Shapefiles must be provided in a "\ u"zipped archive.")) - if self.cleaned_data.get('importer_type') != 'XSLT' and \ + if self.cleaned_data.get('importer_type') not in ('XSLT', 'XXLT') and \ self.cleaned_data.get('source') and \ self.cleaned_data.get('source_file'): raise forms.ValidationError(_(u"You have to set \"source\" or " |