diff --git a/python/revng/cli/_commands/daemon_self_test.py b/python/revng/cli/_commands/daemon_self_test.py index 6e1148e18..f91c96e0c 100755 --- a/python/revng/cli/_commands/daemon_self_test.py +++ b/python/revng/cli/_commands/daemon_self_test.py @@ -90,8 +90,7 @@ class DaemonSelfTestCommand(Command): async def get_connection(self) -> Tuple[aiohttp.BaseConnector, str]: if self.url.startswith("unix:"): return (aiohttp.UnixConnector(self.url.replace("unix:", "", 1)), "dummy") - else: - return (aiohttp.TCPConnector(), self.url) + return (aiohttp.TCPConnector(), self.url) async def run_self_test(self, executable_path: str): try: