Skip to content

Commit 1f547bb

Browse files
committed
autoformat
1 parent c48d694 commit 1f547bb

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

omnipath/_core/downloader/_downloader.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,10 @@ def _download(self, req: PreparedRequest) -> BytesIO:
176176
settings = self._session.merge_environment_settings(
177177
req.url, {}, None, None, None
178178
)
179-
settings['stream'] = True
180-
settings['timeout'] = self._options.timeout
179+
settings["stream"] = True
180+
settings["timeout"] = self._options.timeout
181181
handle = BytesIO()
182-
with self._session.send(
183-
req, **settings
184-
) as resp:
182+
with self._session.send(req, **settings) as resp:
185183
resp.raise_for_status()
186184
total = resp.headers.get("content-length", None)
187185

0 commit comments

Comments
 (0)