mirror of
https://github.com/nathom/streamrip.git
synced 2024-09-18 18:58:46 -04:00
Rename var
This commit is contained in:
parent
42e12c78c0
commit
fed78ba2b5
1 changed files with 3 additions and 3 deletions
|
@ -120,10 +120,10 @@ class DeezerDownloadable(Downloadable):
|
|||
if self.is_encrypted.search(self.url) is None:
|
||||
logger.debug(f"Deezer file at {self.url} not encrypted.")
|
||||
async with aiofiles.open(path, "wb") as file:
|
||||
async for data in resp.content.iter_chunked(self.chunk_size):
|
||||
await file.write(data)
|
||||
async for chunk in resp.content.iter_chunked(self.chunk_size):
|
||||
await file.write(chunk)
|
||||
# typically a bar.update()
|
||||
callback(len(data))
|
||||
callback(len(chunk))
|
||||
else:
|
||||
blowfish_key = self._generate_blowfish_key(self.id)
|
||||
logger.debug(
|
||||
|
|
Loading…
Reference in a new issue