mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 00:15:17 -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
|
timeout=3
|
||||||
)
|
)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException:
|
||||||
feed_error = 'NetBox is unable to connect to feed server...'
|
feed_error = 'NetBox is unable to connect to feed server...'
|
||||||
return {
|
return {
|
||||||
'error': feed_error,
|
'error': feed_error,
|
||||||
|
Loading…
Reference in New Issue
Block a user