mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-23 16:06:43 -06:00
Removed exception variable assignment into get_feed()
Removed variable assignment because variable is unused.
This commit is contained in:
parent
d42a428d66
commit
845c43185c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user