From 404f1fa641554b25e4431e2a0d161417268018eb Mon Sep 17 00:00:00 2001 From: Athanasius Date: Wed, 14 Oct 2020 19:57:16 +0100 Subject: [PATCH] dashboard: No need for except var if unused. --- dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard.py b/dashboard.py index 04cb7f15..f117514b 100644 --- a/dashboard.py +++ b/dashboard.py @@ -159,7 +159,7 @@ class Dashboard(FileSystemEventHandler): self.status = entry self.root.event_generate('<>', when="tail") - except Exception as e: + except Exception: logger.exception('Processing Status.json') # singleton