fix possible access to empty value
This commit is contained in:
parent
74c54cc1f4
commit
66c4ecdfc9
|
|
@ -90,6 +90,9 @@ class MatchItemForm(forms.Form):
|
|||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
if not file_manager: # pragma: no cover
|
||||
return
|
||||
|
||||
# Setup FileManager
|
||||
file_manager.setup()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue