Mercurial > libervia-backend
changeset 3146:320b762cbdf0
core (constants): missing trailing `/`
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 29 Jan 2020 19:21:16 +0100 |
parents | 3f414c897e70 |
children | c3e8ddf3a071 |
files | sat/core/constants.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sat/core/constants.py Wed Jan 29 19:12:46 2020 +0100 +++ b/sat/core/constants.py Wed Jan 29 19:21:16 2020 +0100 @@ -22,8 +22,8 @@ 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 @@ ] else: import os - root_dir = Path(sat.__file__).parent + root_dir = dirname(sat.__file__) + '/' Const.CONFIG_PATHS = ( ["/etc/", "~/", "~/."] + [