Update download_tool.py

This commit is contained in:
CreateSource 2024-11-27 10:47:23 -05:00 committed by GitHub
parent 9a4fb87d44
commit 4a48b0ab21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ def main() -> None:
download(url, response, output)
except urllib.error.URLError as e:
if str(e).find("CERTIFICATE_VERIFY_FAILED") == -1:
return
raise e
try:
import certifi
import ssl