Skip to content

Commit

Permalink
Merge pull request #1777 from dbungert/refresh-vs-autoinstall
Browse files Browse the repository at this point in the history
refresh: fix crash during autoinstall
  • Loading branch information
dbungert authored Aug 30, 2023
2 parents b880843 + 3e9de29 commit ec5e5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subiquity/server/controllers/refresh.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def get_progress(self, change_id: str) -> Change:
return change

async def GET(self, wait: bool = False) -> RefreshStatus:
if wait:
if self.active and wait:
await self.check_task.wait()
return self.status

Expand Down

0 comments on commit ec5e5f5

Please sign in to comment.