From 0367accbe9d045cb8e55b959c062a5b53f005e28 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Tue, 20 Jan 2026 15:18:56 +0100 Subject: [PATCH] Fix appstore BadgeHub --- .../apps/com.micropythonos.appstore/assets/app_detail.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/app_detail.py b/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/app_detail.py index bd5ea588..85f1c596 100644 --- a/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/app_detail.py +++ b/internal_filesystem/builtin/apps/com.micropythonos.appstore/assets/app_detail.py @@ -1,4 +1,5 @@ import os +import json import lvgl as lv from mpos import Activity, DownloadManager, PackageManager, TaskManager @@ -276,7 +277,7 @@ class AppDetail(Activity): self.install_button.remove_state(lv.STATE.DISABLED) async def fetch_badgehub_app_details(self, app_obj): - details_url = self.get_backend_details_url_from_settings() + "/" + app_obj.fullname + details_url = self.appstore.get_backend_details_url_from_settings() + "/" + app_obj.fullname try: response = await DownloadManager.download_url(details_url) except Exception as e: @@ -329,5 +330,5 @@ class AppDetail(Activity): except Exception as e: err = f"ERROR: could not parse app details JSON: {e}" print(err) - self.please_wait_label.set_text(err) + self.appstore.please_wait_label.set_text(err) return