2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

fix possible access to empty valie

This commit is contained in:
Matthias Mair
2024-07-11 22:32:00 +02:00
parent 2b9d5ea20f
commit 74c54cc1f4

View File

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