mirror of
https://github.com/pdxlocations/contact.git
synced 2026-11-07 19:32:21 +01:00
fix config overwrite option
This commit is contained in:
1 parent
498be2c859
commit
aa8a66ef22
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user