From 5d64bf84374d2c324d35cc17ea4251a969b38536 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 02:36:54 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiohttp/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp/client.py b/aiohttp/client.py index 13e01d318fe..66cc5ec2252 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -325,7 +325,7 @@ def __init_subclass__(cls: Type["ClientSession"]) -> None: ) def __del__(self, _warnings: Any = warnings) -> None: - if not hasattr(self, '_connector'): + if not hasattr(self, "_connector"): # has not been initialized, nothing to do return