core (constants): missing trailing /

This commit is contained in:
Goffi 2020-01-29 19:21:16 +01:00
commit 6be3915b55

View file

@ -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/", "~/", "~/."]
+ [