From e43c5e17a49abc68944fb13409495a2eb0969ad6 Mon Sep 17 00:00:00 2001 From: "arda.aydin@ontrol.com.tr" Date: Thu, 20 Aug 2026 13:13:49 +0300 Subject: [PATCH] Use absolute path for editor.properties to avoid PermissionError The relative path failed when the working directory differed from the script directory at runtime. Co-Authored-By: Claude Opus 4.6 --- app_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_state.py b/app_state.py index dac6362..cb9ca31 100644 --- a/app_state.py +++ b/app_state.py @@ -9,7 +9,7 @@ import configparser import os VERSION = "0.0.0.028" -PROPERTIES_FILE = "editor.properties" +PROPERTIES_FILE = os.path.join(os.path.dirname(os.path.abspath(__file__)), "editor.properties") DEFAULT_GRID_SIZE = 10 DEFAULT_ADD_TIMESTAMP = True