Skip to content

Commit 46ad6fc

Browse files
committed
download: blacken
1 parent 5dc2c9b commit 46ad6fc

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/caterpillar/download.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,7 @@ def resumable_download(
5555
headers["Range"] = f"bytes={existing_bytes}-"
5656
try:
5757
logger.debug(f"GET {url}")
58-
r = requests.get(
59-
url,
60-
headers=headers,
61-
stream=True,
62-
timeout=REQUESTS_TIMEOUT,
63-
)
58+
r = requests.get(url, headers=headers, stream=True, timeout=REQUESTS_TIMEOUT)
6459
if r.status_code not in {200, 206}:
6560
logger.error(f"GET {url}: HTTP {r.status_code}")
6661
return False

0 commit comments

Comments
 (0)