Skip to content

Commit 2c899ef

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 59bb357 commit 2c899ef

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

aiohttp/cookiejar.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,7 @@ def load_json(self, file_path: PathLike) -> None:
219219
file_path = pathlib.Path(file_path)
220220
with file_path.open(mode="r", encoding="utf-8") as f:
221221
data = json.load(f)
222-
cookies: defaultdict[tuple[str, str], SimpleCookie] = defaultdict(
223-
SimpleCookie
224-
)
222+
cookies: defaultdict[tuple[str, str], SimpleCookie] = defaultdict(SimpleCookie)
225223
for compound_key, cookie_data in data.items():
226224
parts = compound_key.split("|", 1)
227225
domain = parts[0]

0 commit comments

Comments
 (0)