diff --git a/sat/core/constants.py b/sat/core/constants.py index 0f5f4817..42becedb 100644 --- a/sat/core/constants.py +++ b/sat/core/constants.py @@ -22,8 +22,8 @@ try: from os.path import expanduser, realpath except ImportError: BaseDirectory = None +from os.path import dirname import sat -from pathlib import Path class Const(object): @@ -453,7 +453,7 @@ if ( ] else: import os - root_dir = Path(sat.__file__).parent + root_dir = dirname(sat.__file__) + '/' Const.CONFIG_PATHS = ( ["/etc/", "~/", "~/."] + [