fixed logging changes to be python2 compatible, small change to Pipfile to support possibility of installing to python2, but python3 required for dev
This commit is contained in:
parent
0683ea3c22
commit
58471b168b
5 changed files with 14 additions and 93 deletions
|
@ -17,7 +17,7 @@ def load_logging_config(config_path=None):
|
|||
when None defaults to /etc/core/logging.conf
|
||||
:return: nothing
|
||||
"""
|
||||
if config_path is None:
|
||||
if not config_path:
|
||||
config_path = os.path.join(constants.CORE_CONF_DIR, "logging.conf")
|
||||
with open(config_path, "r") as log_config_file:
|
||||
log_config = json.load(log_config_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue