commit e1c4f1edd9ad0e6d725af3e25a66213900d1da7e
parent 6bbcc6961751cb345867c1c1fb1f9ec38b3b7030
Author: lash <dev@holbrook.no>
Date: Thu, 3 Nov 2022 12:29:30 +0000
Add missing config dir var
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/chainlib/cli/config.py b/chainlib/cli/config.py
@@ -7,11 +7,8 @@ import stat
# external imports
import confini
-# local imports
-from .base import (
- Flag,
- default_config_dir as default_parent_config_dir,
- )
+script_dir = os.path.dirname(os.path.realpath(__file__))
+default_parent_config_dir = os.path.join(script_dir, '..', 'data', 'config')
logg = logging.getLogger(__name__)