fix unawaited task
This commit is contained in:
parent
40b9fa38b0
commit
1a14157d37
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ class UPnPComponent(Component):
|
|||
self.upnp_redirects.update(upnp_redirects)
|
||||
except (asyncio.TimeoutError, UPnPError):
|
||||
self.upnp = None
|
||||
return self._maintain_redirects()
|
||||
return
|
||||
elif self.upnp: # check existing redirects are still active
|
||||
found = set()
|
||||
mappings = await self.upnp.get_redirects()
|
||||
|
|
Loading…
Reference in a new issue