We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b746d3a commit b36650fCopy full SHA for b36650f
modules/system/ota/ota.py
@@ -122,6 +122,7 @@ async def otaupdate(self, render_update):
122
response = await self.task
123
url = response.headers["Location"]
124
125
+ """
126
self.task = async_helpers.unblock(
127
requests.get,
128
render_update,
@@ -138,7 +139,7 @@ async def otaupdate(self, render_update):
138
139
release_notes = "\n".join(release_notes)
140
self.notes = layout.DefinitionDisplay("Release notes", release_notes)
141
self.layout.items.append(self.notes)
-
142
143
try:
144
result = await async_helpers.unblock(
145
ota.update,
0 commit comments