fixing some 3.7 stuff

This commit is contained in:
brent s 2018-08-07 12:23:27 -04:00
parent 4dba35f455
commit cd9148bcec

View File

@ -24,10 +24,10 @@ _logmodpath = os.path.abspath(os.path.join(_selfpath,
'lib',
'python',
'logger.py'))
logger = importlib.util.module_from_spec(
importlib.util.spec_from_file_location(
'logger',
_logmodpath))
log_spec = importlib.util.spec_from_file_location('logger', _logmodpath)
logger = importlib.util.module_from_spec(log_spec)
log_spec.loader.exec_module(logger)

_loglevel = 'warning'
#_loglevel = 'debug'