mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Add missing await in backup check (#3844)
This commit is contained in:
parent
bf48d48c51
commit
170e85396e
@ -16,7 +16,7 @@ class CheckBackups(CheckBase):
|
|||||||
|
|
||||||
async def run_check(self) -> None:
|
async def run_check(self) -> None:
|
||||||
"""Run check if not affected by issue."""
|
"""Run check if not affected by issue."""
|
||||||
if self.approve_check():
|
if await self.approve_check():
|
||||||
self.sys_resolution.create_issue(
|
self.sys_resolution.create_issue(
|
||||||
IssueType.NO_CURRENT_BACKUP,
|
IssueType.NO_CURRENT_BACKUP,
|
||||||
ContextType.SYSTEM,
|
ContextType.SYSTEM,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user