Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1 from 20treeAI/verify_false
Browse files Browse the repository at this point in the history
Don't verify SSL certificate to avoid error
  • Loading branch information
daviddemeij authored Nov 2, 2022
2 parents 1beb9c5 + 0f2519a commit c179006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtm4/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def download(to_file, from_url):
# Use a requests session with retry logic because the server at
# SRTM_URL sometimes returns 503 responses when overloaded
session = _requests_retry_session()
r = session.get(from_url, stream=True)
r = session.get(from_url, stream=True, verify=False)
if not r.ok:
raise ConnectionError(
"Response code {} received for url {}".format(r.status_code, from_url)
Expand Down

0 comments on commit c179006

Please sign in to comment.