diff --git a/preload/menu.py b/preload/menu.py index 06ae20f52f9de9508100c7349818d1a5bdf8d033..8dcb7ecc1f1ad70b3880170d4241889e74239ea8 100644 --- a/preload/menu.py +++ b/preload/menu.py @@ -65,9 +65,11 @@ def list_apps(): # list all hatchary style apps (not .elf and not .py) # with or without metadata.json for appFolder in sorted(os.listdir("/apps")): - if not (appFolder.endswith(".py") - or appFolder.endswith(".elf") - or appFolder.startswith("._")): + if not ( + appFolder.endswith(".py") + or appFolder.endswith(".elf") + or appFolder.startswith("._")i + ): apps.append(["/apps/%s/__init__.py" % appFolder, read_metadata(appFolder)]) # list simple python scripts