From d492573916c40e148da7ffe8c80d0fe6fb64f283 Mon Sep 17 00:00:00 2001 From: Rudra Saraswat Date: Sat, 4 Apr 2026 03:30:54 +0100 Subject: [PATCH] fix: do not attempt to access non-existent config entry --- usr/lib/akshara/utils/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/akshara/utils/helpers.py b/usr/lib/akshara/utils/helpers.py index 952923f..9650005 100644 --- a/usr/lib/akshara/utils/helpers.py +++ b/usr/lib/akshara/utils/helpers.py @@ -138,10 +138,10 @@ def is_already_latest() -> bool: json.dumps(system_config, ensure_ascii=False).strip() == contents.strip() ): - if len(system_config["distro-config"]["needs-update"]) == 0: + if len(system_config["needs-update"]) == 0: return False - for update_check in system_config["distro-config"]["needs-update"]: + for update_check in system_config["needs-update"]: if ( subprocess.run( ["bash", "-s"],