From 7d33b4f1f347f27d4a0878618cc49bb4026b37c4 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 28 Jan 2019 17:27:39 -0500 Subject: [PATCH] fix unawaited task --- lbrynet/extras/daemon/Components.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lbrynet/extras/daemon/Components.py b/lbrynet/extras/daemon/Components.py index fb850c2dd..2a88a3b00 100644 --- a/lbrynet/extras/daemon/Components.py +++ b/lbrynet/extras/daemon/Components.py @@ -615,7 +615,9 @@ class UPnPComponent(Component): else: log.error("failed to setup upnp") if self.component_manager.analytics_manager: - self.component_manager.analytics_manager.send_upnp_setup_success_fail(success, await self.get_status()) + await self.component_manager.analytics_manager.send_upnp_setup_success_fail( + success, await self.get_status() + ) self._maintain_redirects_task = asyncio.create_task(self._repeatedly_maintain_redirects(now=False)) async def stop(self):