mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
fix possible access to empty valie
This commit is contained in:
@ -51,6 +51,9 @@ class MatchFieldForm(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()
|
||||||
# Get columns
|
# Get columns
|
||||||
|
Reference in New Issue
Block a user