From 845c43185c80d65c4b0606fe97c1c929103847f8 Mon Sep 17 00:00:00 2001 From: Adhoniran Gomes <13842906+adhoniran@users.noreply.github.com> Date: Tue, 3 Oct 2023 14:41:01 -0300 Subject: [PATCH] Removed exception variable assignment into get_feed() Removed variable assignment because variable is unused. --- netbox/extras/dashboard/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/extras/dashboard/widgets.py b/netbox/extras/dashboard/widgets.py index 1929141ed..e762e5857 100644 --- a/netbox/extras/dashboard/widgets.py +++ b/netbox/extras/dashboard/widgets.py @@ -318,7 +318,7 @@ class RSSFeedWidget(DashboardWidget): timeout=3 ) response.raise_for_status() - except requests.exceptions.RequestException as e: + except requests.exceptions.RequestException: feed_error = 'NetBox is unable to connect to feed server...' return { 'error': feed_error,