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