diff options
-rw-r--r-- | ishtar_common/forms_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/forms_common.py b/ishtar_common/forms_common.py index 66ace87f1..e6e62288e 100644 --- a/ishtar_common/forms_common.py +++ b/ishtar_common/forms_common.py @@ -534,7 +534,7 @@ class NewImportGroupForm(NewImportForm): def _need_archive(self, data): tpe = data["importer_type"] - return [sub.importer_type.archive_required for sub in tpe.importer_types.all()] + return any(sub.importer_type.archive_required for sub in tpe.importer_types.all()) class TargetKeyForm(forms.ModelForm): |