From 7075f5689eacbf586324495b1fda3cc1baf03173 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Tue, 22 Sep 2020 21:14:45 +0100 Subject: [PATCH] wasp: Fix broken indention Currently the simulator cannot run correctly because the indentation in Manager.__init__ mixes tab and spaces. This is something CPython3 doesn't like but MicroPython is ok about. Fix the obvious by using correct indentation. Fixes: 889115f ("wasp: Allow app initialization to fail") Signed-off-by: Daniel Thompson --- wasp/wasp.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/wasp/wasp.py b/wasp/wasp.py index 15bcc21..8f7e8a8 100644 --- a/wasp/wasp.py +++ b/wasp/wasp.py @@ -116,18 +116,18 @@ class Manager(): # TODO: Eventually these should move to main.py for app, qr in ( (ClockApp, True), - (StepCounterApp, True), - (StopwatchApp, True), - (HeartApp, True), - (FlashlightApp, False), - (SettingsApp, False), - (TestApp, False) ): - try: - self.register(app(), qr) - except: - # Let's not bring the whole device down just because there's - # an exception starting one of the apps... - pass + (StepCounterApp, True), + (StopwatchApp, True), + (HeartApp, True), + (FlashlightApp, False), + (SettingsApp, False), + (TestApp, False) ): + try: + self.register(app(), qr) + except: + # Let's not bring the whole device down just because there's + # an exception starting one of the apps... + pass def register(self, app, quick_ring=False): """Register an application with the system.