fix config overwrite option

This commit is contained in:
pdxlocations
2025-02-22 18:40:20 -08:00
parent 498be2c859
commit aa8a66ef22

View File

@@ -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)