Skip to content

Commit 82c1423

Browse files
committed
style
1 parent 883725e commit 82c1423

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/huggingface_hub/hf_file_system.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,12 +1062,7 @@ def _fetch_range(self, start: int, end: int) -> bytes:
10621062
repo_type=self.resolved_path.repo_type,
10631063
endpoint=self.fs.endpoint,
10641064
)
1065-
r = http_backoff(
1066-
"GET",
1067-
url,
1068-
headers=headers,
1069-
timeout=constants.HF_HUB_DOWNLOAD_TIMEOUT,
1070-
)
1065+
r = http_backoff("GET", url, headers=headers, timeout=constants.HF_HUB_DOWNLOAD_TIMEOUT)
10711066
hf_raise_for_status(r)
10721067
return r.content
10731068

0 commit comments

Comments
 (0)