mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
fix silly request header error
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ class RemoteHTTP(RemoteBASE):
|
||||
|
||||
def _download(self, from_info, to_file, name=None, no_progress_bar=False):
|
||||
request = self._request("GET", from_info.url, stream=True)
|
||||
total = self._content_length(request)
|
||||
total = self._content_length(from_info)
|
||||
|
||||
with Tqdm(
|
||||
total=total,
|
||||
|
||||
Reference in New Issue
Block a user