mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix UnboundLocalError (#3153)
This commit is contained in:
parent
4416b6524e
commit
b03c8c24dd
@ -221,6 +221,7 @@ class HomeAssistantCore(CoreSysAttributes):
|
||||
except HomeAssistantError:
|
||||
# The API stoped responding between the up checks an now
|
||||
self._error_state = True
|
||||
data = None
|
||||
|
||||
# Verify that the frontend is loaded
|
||||
if data and "frontend" not in data.get("components", []):
|
||||
|
Loading…
x
Reference in New Issue
Block a user