From 8b7c3818709036bd0b0960838c8cd7a0975e1846 Mon Sep 17 00:00:00 2001 From: hkc Date: Mon, 29 Aug 2022 10:34:23 +0300 Subject: [PATCH] =?UTF-8?q?BaseIntegration.=5F=5Fcall=5F=5F=20=E2=86=92=20?= =?UTF-8?q?BaseIntegration()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mastoposter/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/mastoposter/__init__.py b/mastoposter/__init__.py index 5ad9795..a096cb5 100644 --- a/mastoposter/__init__.py +++ b/mastoposter/__init__.py @@ -49,10 +49,6 @@ async def execute_integrations( status: Status, sinks: List[FilteredIntegration] ) -> List[Optional[str]]: return await gather( - *[ - sink[0].__call__(status) - for sink in sinks - if run_filters(sink[1], status) - ], + *[sink[0](status) for sink in sinks if run_filters(sink[1], status)], return_exceptions=True, )