From 8c0200ddece8740f5355ee22dfdc4468f0234891 Mon Sep 17 00:00:00 2001
From: Renze Nicolai <renze@rnplus.nl>
Date: Wed, 21 Aug 2019 00:37:47 +0200
Subject: [PATCH] Making the code style checker happy

---
 preload/menu.py | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/preload/menu.py b/preload/menu.py
index 5a08a7b8..26cd186a 100644
--- a/preload/menu.py
+++ b/preload/menu.py
@@ -5,17 +5,22 @@ You can customize this script however you want :)  If you want to go back to
 the default version, just delete this file; the firmware will recreate it on
 next run.
 """
-import buttons, color, display, os, ujson, sys
+import buttons
+import color
+import display
+import os
+import ujson
+import sys
 
 def read_metadata(app_folder):
-	try:
-		info_file = "/apps/%s/metadata.json" % (app_folder)
-		with open(info_file) as f:
-			information = f.read()
-		return ujson.loads(information)
-	except BaseException as e:
-		sys.print_exception(e)
-		return {'author':'', 'name':app_folder, 'description':'', 'category':'', 'revision': 0}
+    try:
+        info_file = "/apps/%s/metadata.json" % (app_folder)
+        with open(info_file) as f:
+            information = f.read()
+        return ujson.loads(information)
+    except BaseException as e:
+        sys.print_exception(e)
+        return {'author':'', 'name':app_folder, 'description':'', 'category':'', 'revision': 0}
 
 def list_apps():
     """Create a list of available apps."""    
@@ -23,7 +28,7 @@ def list_apps():
     
     apps = []
     for appFolder in appFolders:
-		apps.append([appFolder, read_metadata(appFolder)])
+        apps.append([appFolder, read_metadata(appFolder)])
 
     return apps
 
-- 
GitLab