fix: apps empty list is not None

This commit is contained in:
igor.udot
2024-07-19 12:28:32 +08:00
parent 7042068519
commit 5c23314da1
2 changed files with 7 additions and 7 deletions

View File

@@ -82,7 +82,7 @@ class IdfPytestEmbedded:
self.apps_list = (
[os.path.join(idf_relpath(app.app_dir), app.build_dir) for app in apps if app.build_status == BuildStatus.SUCCESS]
if apps
if apps is not None
else None
)