2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 12:35:46 +00:00

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

View File

@ -90,6 +90,9 @@ class MatchItemForm(forms.Form):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
if not file_manager: # pragma: no cover
return
# Setup FileManager # Setup FileManager
file_manager.setup() file_manager.setup()