Merge pull request #1777 from dbungert/refresh-vs-autoinstall

refresh: fix crash during autoinstall
This commit is contained in:
Dan Bungert 2023-08-30 09:32:52 -06:00 committed by GitHub
commit ec5e5f576c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class RefreshController(SubiquityController):
return change return change
async def GET(self, wait: bool = False) -> RefreshStatus: async def GET(self, wait: bool = False) -> RefreshStatus:
if wait: if self.active and wait:
await self.check_task.wait() await self.check_task.wait()
return self.status return self.status