mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 22:45:44 +00:00
undo changes for function
This commit is contained in:
parent
3ee57277ff
commit
5987299748
@ -31,8 +31,8 @@ def module_dispatch_registrar(module):
|
|||||||
return dispatch_wrapper
|
return dispatch_wrapper
|
||||||
|
|
||||||
|
|
||||||
def get_planetmint_config_value(key, default_value=None, backend=None):
|
def get_planetmint_config_value(key, default_value=None):
|
||||||
return planetmint.config['database'].get(key, default_value) if backend is None else planetmint.config['database'][backend].get(key, default_value)
|
return planetmint.config['database'].get(key, default_value)
|
||||||
|
|
||||||
|
|
||||||
def get_planetmint_config_value_or_key_error(key):
|
def get_planetmint_config_value_or_key_error(key):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user