From f405bfb6131ca27a42cda18f0f62dba43893bdc5 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 22 Nov 2022 14:44:05 +0100 Subject: [PATCH] [fix] catalog: default values for categories & antifeatures --- src/app_catalog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app_catalog.py b/src/app_catalog.py index aa891f35c..ea9b0f53e 100644 --- a/src/app_catalog.py +++ b/src/app_catalog.py @@ -272,7 +272,7 @@ def _load_apps_catalog(): merged_catalog["apps"][app] = info # Annnnd categories + antifeatures - merged_catalog["categories"] += apps_catalog_content["categories"] - merged_catalog["antifeatures"] += apps_catalog_content["antifeatures"] + merged_catalog["categories"] += apps_catalog_content.get("categories", []) + merged_catalog["antifeatures"] += apps_catalog_content.get("antifeatures", []) return merged_catalog