settings.py - fix default value (#6681)

- Use None instead of empty dict
This commit is contained in:
Oliver 2024-03-13 08:53:19 +11:00 committed by GitHub
parent c185a267da
commit e764833f1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -734,7 +734,7 @@ if TRACING_ENABLED: # pragma: no cover
_t_resources = get_setting(
'INVENTREE_TRACING_RESOURCES',
'tracing.resources',
default_value={},
default_value=None,
typecast=dict,
)
cstm_tags = {'inventree.env.' + k: v for k, v in inventree_tags.items()}