fix silly request header error

This commit is contained in:
Casper da Costa-Luis
2019-08-14 00:56:20 +01:00
parent 186f0cc483
commit 39da3725f9
+1 -1
View File
@@ -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,