fixed linter

This commit is contained in:
Alexander Karpov 2023-06-04 00:57:42 +03:00
parent 3f0da7b961
commit 9a2cf8e083

View File

@ -1,5 +1,6 @@
from django import forms
class MultipleFileInput(forms.ClearableFileInput):
allow_multiple_selected = True
@ -15,4 +16,4 @@ def clean(self, data, initial=None):
result = [single_file_clean(d, initial) for d in data]
else:
result = single_file_clean(data, initial)
return result
return result