From 8716ea6fe1eb661895c3bd7ee466b266de2f0762 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sun, 20 Jul 2025 23:46:24 -0700 Subject: [PATCH] dont write to the log before config --- contact/ui/default_config.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/contact/ui/default_config.py b/contact/ui/default_config.py index f8edb0f..f292b52 100644 --- a/contact/ui/default_config.py +++ b/contact/ui/default_config.py @@ -48,15 +48,6 @@ def _get_config_root(preferred_dir: str, fallback_name: str = ".contact_client") # Pick the root now. config_root = _get_config_root(parent_dir) -if config_root != parent_dir: - logging.debug( - "Parent directory %s not writable; using fallback config root %s", - parent_dir, - config_root, - ) -else: - logging.debug("Using parent directory %s for config artifacts.", config_root) - # Paths (derived from the chosen root) json_file_path = os.path.join(config_root, "config.json") log_file_path = os.path.join(config_root, "client.log")