From aa8a66ef2229ff8d978ae6cd4cd9126844fe16b6 Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Sat, 22 Feb 2025 18:40:20 -0800 Subject: [PATCH] fix config overwrite option --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index 461e572..7ddd1d0 100644 --- a/settings.py +++ b/settings.py @@ -189,7 +189,7 @@ def settings_menu(stdscr, interface): if os.path.exists(yaml_file_path): overwrite = get_list_input(f"{filename} already exists. Overwrite?", None, ["Yes", "No"]) - if overwrite == "Yes": + if overwrite == "No": logging.info("Export cancelled: User chose not to overwrite.") continue # Return to menu os.makedirs(os.path.dirname(yaml_file_path), exist_ok=True)