From 502e338d8e3b5e5be5fb4b18c2786ca9af3b05b6 Mon Sep 17 00:00:00 2001 From: Kyle Harrington Date: Fri, 31 May 2024 09:29:38 -0400 Subject: [PATCH] Fix formatting --- sshfs/spec.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshfs/spec.py b/sshfs/spec.py index 64de368..7f05cf9 100644 --- a/sshfs/spec.py +++ b/sshfs/spec.py @@ -338,9 +338,9 @@ async def _pipe_file(self, path, data, chunksize=50 * 2**20, **kwargs): await self._makedirs(self._parent(path), exist_ok=True) async with self._pool.get() as channel: - async with channel.open(path, 'wb') as f: + async with channel.open(path, "wb") as f: for i in range(0, len(data), chunksize): - chunk = data[i:i + chunksize] + chunk = data[i : i + chunksize] await f.write(chunk) await f.flush()