Fix ssl_context

This commit is contained in:
Michael Hansen
2020-04-20 08:54:33 -04:00
parent 46a75ec83e
commit 3c53cd0236
+1 -1
View File
@@ -526,7 +526,7 @@ class RhasspyCore:
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)