From 6b2bb1ad008c47b2e3eea0140171afd4482ca23a Mon Sep 17 00:00:00 2001 From: lesca Date: Fri, 19 Jun 2026 13:36:08 +0800 Subject: [PATCH] fix: save config file on macos --- ExportToHtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExportToHtml.py b/ExportToHtml.py index 90c795d..7e626a3 100644 --- a/ExportToHtml.py +++ b/ExportToHtml.py @@ -41,7 +41,7 @@ def __init__(self): self.path = None self.deck = None self.fields = {} - self.config_file = "export_decks_to_html_config.config" + self.config_file = f"{os.path.expanduser('~/Documents')}/export_decks_to_html_config.config" if os.path.exists(self.config_file): try: self.config = load(open(self.config_file, 'rb'))