From ff303860513690c4b1c52a053aa75f28858002d3 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 6 Apr 2021 20:48:10 -0400 Subject: [PATCH] lint --- lbry/extras/daemon/components.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lbry/extras/daemon/components.py b/lbry/extras/daemon/components.py index 674d9c53e..37a495546 100644 --- a/lbry/extras/daemon/components.py +++ b/lbry/extras/daemon/components.py @@ -539,8 +539,10 @@ class UPnPComponent(Component): success = False await self._maintain_redirects() if self.upnp: - if not self.upnp_redirects and not all(x in self.component_manager.skip_components for x in - (DHT_COMPONENT, PEER_PROTOCOL_SERVER_COMPONENT)): + if not self.upnp_redirects and not all( + x in self.component_manager.skip_components + for x in (DHT_COMPONENT, PEER_PROTOCOL_SERVER_COMPONENT) + ): log.error("failed to setup upnp") else: success = True