core (constants): missing trailing /
This commit is contained in:
parent
21591bce92
commit
6be3915b55
1 changed files with 2 additions and 2 deletions
|
|
@ -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/", "~/", "~/."]
|
||||
+ [
|
||||
|
|
|
|||
Loading…
Reference in a new issue