From 8a0fcabf004c3e06200dc85377b84cb56bf72f5b Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Tue, 1 Oct 2024 16:25:16 +0300 Subject: [PATCH] use human title --- catalog_reader/app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/catalog_reader/app.py b/catalog_reader/app.py index 4e82efa..22a2e44 100644 --- a/catalog_reader/app.py +++ b/catalog_reader/app.py @@ -71,6 +71,10 @@ def get_app_details( item_data[desired_key] = app_metadata[desired_keys_mapping[desired_key]] desired_keys_mapping.pop(desired_key) + # Use the human readable title from the app metadata if it is available + if app_metadata.get("title"): + item_data["title"] = app_metadata["title"] + if not item_data['latest_version']: item_data['latest_version'] = k item_data['latest_app_version'] = app_metadata['app_version']