Fix confdir passing to workers

This commit is contained in:
Leo Vasanko 2023-11-21 13:18:30 +00:00
parent 6e236481a1
commit 0be61cff2b

View File

@ -119,7 +119,7 @@ def _confdir(args):
raise ValueError("Config path is not a directory") raise ValueError("Config path is not a directory")
# Accidentally pointed to the db.toml, use parent # Accidentally pointed to the db.toml, use parent
confdir = confdir.parent confdir = confdir.parent
os.environ["CISTA_HOME"] = confdir.as_posix() os.environ["CISTA_HOME"] = confdir.as_posix()
config.init_confdir() # Uses environ if available config.init_confdir() # Uses environ if available