forcing abspath

This commit is contained in:
brent s 2018-08-07 12:11:25 -04:00
parent 5bd2a87d0c
commit 4dba35f455

View File

@ -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',