Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

Commit

Permalink
Fix ssl_context
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Apr 20, 2020
1 parent 46a75ec commit 3c53cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhasspy/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async def download_file(url, filename):
self._logger.debug(status)
os.makedirs(os.path.dirname(filename), exist_ok=True)

async with self.session.get(url, ssl=ssl_context) as response:
async with self.session.get(url, ssl=self.ssl_context) as response:
with open(filename, "wb") as out_file:
async for chunk in response.content.iter_chunked(chunk_size):
out_file.write(chunk)
Expand Down

0 comments on commit 3c53cd0

Please sign in to comment.