From 881693fd3f212b5ba48dadaeb7b78ffbdd481468 Mon Sep 17 00:00:00 2001 From: Peter Eckel <pe-git@hindenburgring.com> Date: Thu, 22 Aug 2019 13:22:12 +0200 Subject: [PATCH] Fixed lint error --- preload/menu.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/preload/menu.py b/preload/menu.py index 06ae20f5..8dcb7ecc 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 -- GitLab