From a1029d2c551c0e9cf5bb7718b3f2a1bae48e1c7e Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 21 Nov 2023 13:08:20 +0000 Subject: [PATCH] Fix confdir passing to workers --- cista/__main__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cista/__main__.py b/cista/__main__.py index f541de3..7912ff5 100644 --- a/cista/__main__.py +++ b/cista/__main__.py @@ -50,7 +50,6 @@ def main(): def _main(): args = docopt(doc) - config.init_confdir() if args["--user"]: return _user(args) listen = args["-l"] @@ -120,7 +119,7 @@ def _confdir(args): # Accidentally pointed to the db.toml, use parent confdir = confdir.parent os.environ["CISTA_HOME"] = confdir.as_posix() - config.conffile = confdir / config.conffile.name + config.init_confdir() # Uses environ if available def _user(args):