2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

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( _t_resources = get_setting(
'INVENTREE_TRACING_RESOURCES', 'INVENTREE_TRACING_RESOURCES',
'tracing.resources', 'tracing.resources',
default_value={}, default_value=None,
typecast=dict, typecast=dict,
) )
cstm_tags = {'inventree.env.' + k: v for k, v in inventree_tags.items()} cstm_tags = {'inventree.env.' + k: v for k, v in inventree_tags.items()}