[cleanup] Misc cleanup

This commit is contained in:
pukkandan 2021-10-09 05:53:15 +05:30
parent 4e3b637d5b
commit b5ae35ee6d
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698
25 changed files with 142 additions and 136 deletions

View file

@ -48,8 +48,8 @@ class HttpFD(FileDownloader):
is_test = self.params.get('test', False)
chunk_size = self._TEST_FILE_SIZE if is_test else (
self.params.get('http_chunk_size') or
info_dict.get('downloader_options', {}).get('http_chunk_size')
self.params.get('http_chunk_size')
or info_dict.get('downloader_options', {}).get('http_chunk_size')
or 0)
ctx.open_mode = 'wb'