fixing some 3.7 stuff
This commit is contained in:
parent
4dba35f455
commit
cd9148bcec
@ -24,10 +24,10 @@ _logmodpath = os.path.abspath(os.path.join(_selfpath,
|
|||||||
'lib',
|
'lib',
|
||||||
'python',
|
'python',
|
||||||
'logger.py'))
|
'logger.py'))
|
||||||
logger = importlib.util.module_from_spec(
|
log_spec = importlib.util.spec_from_file_location('logger', _logmodpath)
|
||||||
importlib.util.spec_from_file_location(
|
logger = importlib.util.module_from_spec(log_spec)
|
||||||
'logger',
|
log_spec.loader.exec_module(logger)
|
||||||
_logmodpath))
|
|
||||||
_loglevel = 'warning'
|
_loglevel = 'warning'
|
||||||
#_loglevel = 'debug'
|
#_loglevel = 'debug'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user