Compare commits
1 Commits
23a3985ca2
...
95753d279c
Author | SHA1 | Date |
---|---|---|
CreateSource | 95753d279c |
|
@ -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:
|
||||||
raise e
|
return
|
||||||
try:
|
try:
|
||||||
import certifi
|
import certifi
|
||||||
import ssl
|
import ssl
|
||||||
|
|
Loading…
Reference in New Issue