forcing abspath

This commit is contained in:
brent s 2018-08-07 12:11:25 -04:00
parent 5bd2a87d0c
commit 4dba35f455
1 changed files with 5 additions and 5 deletions

View File

@ -19,11 +19,11 @@ cfgfile = os.path.join(os.environ['HOME'],

# Set up the logger.
_selfpath = os.path.abspath(os.path.realpath(os.path.expanduser(__file__)))
_logmodpath = os.path.join(_selfpath,
'..', '..', '..',
'lib',
'python',
'logger.py')
_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',