diff --git a/cista/__main__.py b/cista/__main__.py index 3234de6..5822d15 100644 --- a/cista/__main__.py +++ b/cista/__main__.py @@ -119,7 +119,7 @@ def _confdir(args): raise ValueError("Config path is not a directory") # Accidentally pointed to the db.toml, use 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