diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-14 00:08:03 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-14 00:08:03 -0500 |
| commit | 4f3382c5f323d7f51fb52853d69d05aa7fafd974 (patch) | |
| tree | ba5de680e8863dcf4113a6926921065adc7844f8 /scripts/theme-studio/app_inventory.py | |
| parent | 6aa8326e387ba4c3d9af71b6a269d4c1d7eb52ee (diff) | |
| download | dotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.tar.gz dotemacs-4f3382c5f323d7f51fb52853d69d05aa7fafd974.zip | |
Update theme studio palette workflow
Diffstat (limited to 'scripts/theme-studio/app_inventory.py')
| -rw-r--r-- | scripts/theme-studio/app_inventory.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/theme-studio/app_inventory.py b/scripts/theme-studio/app_inventory.py index 0c55a5d4e..e491b8abb 100644 --- a/scripts/theme-studio/app_inventory.py +++ b/scripts/theme-studio/app_inventory.py @@ -45,7 +45,8 @@ def add_inventory_apps(apps: dict[str, Any], inventory_path: str) -> dict[str, A """Add generic editable apps for installed packages not covered by bespoke previews.""" if not os.path.exists(inventory_path): return apps - inventory = json.load(open(inventory_path)) + with open(inventory_path) as src: + inventory = json.load(src) for pkg in sorted(inventory): if pkg in BESPOKE_APPS or pkg in apps: continue |
