From 0948b52e681c5abcb7a0b7754445a3f5813b93f9 Mon Sep 17 00:00:00 2001 From: anonymous Date: Sun, 22 Dec 2019 09:27:49 +0000 Subject: [PATCH] fix indentation --- button.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/button.py b/button.py index f5a8838..bbf31b2 100644 --- a/button.py +++ b/button.py @@ -136,10 +136,10 @@ class APILoader: def run(self): while True: try: - self.loadData() - except Exception as e: + self.loadData() + except Exception as e: print("Unable to load API data:", e) - + time.sleep(self.delay) def loadData(self):