fix possible access to empty value

This commit is contained in:
Matthias Mair 2024-07-11 22:33:36 +02:00
parent 74c54cc1f4
commit 66c4ecdfc9
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
1 changed files with 3 additions and 0 deletions

View File

@ -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()