mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
settings.py - fix default value (#6681)
- Use None instead of empty dict
This commit is contained in:
parent
c185a267da
commit
e764833f1f
@ -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()}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user