Skip to content

Commit

Permalink
Mount http as well as https. #33
Browse files Browse the repository at this point in the history
  • Loading branch information
JackKelly committed Sep 10, 2019
1 parent cee6508 commit 07e0d3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pvoutput/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def _get_session_with_retry() -> requests.Session:
**max_retry_counts
)
session = requests.Session()
session.mount('http://', HTTPAdapter(max_retries=retries))
session.mount('https://', HTTPAdapter(max_retries=retries))
return session

Expand Down

0 comments on commit 07e0d3b

Please sign in to comment.