From 6be3915b559702f75f34945b718e831d55f0de9f Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 29 Jan 2020 19:21:16 +0100 Subject: [PATCH] core (constants): missing trailing `/` --- sat/core/constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/", "~/", "~/."] + [