From 4dba35f455394095833a3aa899ecfc40d504fbe2 Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 7 Aug 2018 12:11:25 -0400 Subject: [PATCH] forcing abspath --- centos/repoclone/repoclone.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/centos/repoclone/repoclone.py b/centos/repoclone/repoclone.py index 07bbda8..6e39f13 100755 --- a/centos/repoclone/repoclone.py +++ b/centos/repoclone/repoclone.py @@ -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',