Update lollms_apps.py

This commit is contained in:
Saifeddine ALOUI 2024-09-19 08:41:41 +02:00 committed by GitHub
parent 0108aef7bd
commit 4e066068c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,6 +93,7 @@ async def list_apps():
else:
remote_apps = []
for app_name in apps_zoo_path.iterdir():
try:
if app_name.is_dir():
icon_path = app_name / "icon.png"
description_path = app_name / "description.yaml"
@ -157,6 +158,8 @@ async def list_apps():
has_update=has_update,
installed=installed
))
except Exception as ex:
trace_exception(ex)
return apps