forcing abspath
This commit is contained in:
parent
5bd2a87d0c
commit
4dba35f455
@ -19,11 +19,11 @@ cfgfile = os.path.join(os.environ['HOME'],
|
|||||||
|
|
||||||
# Set up the logger.
|
# Set up the logger.
|
||||||
_selfpath = os.path.abspath(os.path.realpath(os.path.expanduser(__file__)))
|
_selfpath = os.path.abspath(os.path.realpath(os.path.expanduser(__file__)))
|
||||||
_logmodpath = os.path.join(_selfpath,
|
_logmodpath = os.path.abspath(os.path.join(_selfpath,
|
||||||
'..', '..', '..',
|
'..', '..', '..',
|
||||||
'lib',
|
'lib',
|
||||||
'python',
|
'python',
|
||||||
'logger.py')
|
'logger.py'))
|
||||||
logger = importlib.util.module_from_spec(
|
logger = importlib.util.module_from_spec(
|
||||||
importlib.util.spec_from_file_location(
|
importlib.util.spec_from_file_location(
|
||||||
'logger',
|
'logger',
|
||||||
|
Loading…
Reference in New Issue
Block a user