core (constants): use parent of "sat" module dir as last config path
This commit is contained in:
parent
6be3915b55
commit
3d86f0c983
1 changed files with 3 additions and 1 deletions
|
|
@ -453,7 +453,9 @@ if (
|
|||
]
|
||||
else:
|
||||
import os
|
||||
root_dir = dirname(sat.__file__) + '/'
|
||||
# we use parent of "sat" module dir as last config path, this is useful for
|
||||
# per instance configurations (e.g. a dev instance and a main instance)
|
||||
root_dir = dirname(dirname(sat.__file__)) + '/'
|
||||
Const.CONFIG_PATHS = (
|
||||
["/etc/", "~/", "~/."]
|
||||
+ [
|
||||
|
|
|
|||
Loading…
Reference in a new issue