diff --git a/opentech/apply/stream_forms/fields.py b/opentech/apply/stream_forms/fields.py index 6f542f221af663b98bd4ed7ecc69e32c0a8d307e..efc205118002356c4b0fd1ef014a22f0d7bc40b9 100644 --- a/opentech/apply/stream_forms/fields.py +++ b/opentech/apply/stream_forms/fields.py @@ -18,9 +18,12 @@ class MultiFileInput(ClearableFileInput): def is_initial(self, value): is_initial = super().is_initial - return all( - is_initial(file) for file in value - ) + try: + return all( + is_initial(file) for file in value + ) + except TypeError: + return is_initial(value) def render(self, name, value, attrs=dict()): if self.multiple: