Compare commits
2 Commits
95753d279c
...
23a3985ca2
Author | SHA1 | Date |
---|---|---|
CreateSource | 23a3985ca2 | |
CreateSource | 4a48b0ab21 |
|
@ -124,7 +124,7 @@ def main() -> None:
|
||||||
download(url, response, output)
|
download(url, response, output)
|
||||||
except urllib.error.URLError as e:
|
except urllib.error.URLError as e:
|
||||||
if str(e).find("CERTIFICATE_VERIFY_FAILED") == -1:
|
if str(e).find("CERTIFICATE_VERIFY_FAILED") == -1:
|
||||||
return
|
raise e
|
||||||
try:
|
try:
|
||||||
import certifi
|
import certifi
|
||||||
import ssl
|
import ssl
|
||||||
|
|
Loading…
Reference in New Issue