Skip to content

Commit

Permalink
fix: Merge pull request #67 from evervault/eoinpm/pro-989-end-the-ddo…
Browse files Browse the repository at this point in the history
…s-machine-python-sdk

fix: keeps static link to requests.Session.request
  • Loading branch information
e-moran committed Jun 30, 2022
2 parents 992c031 + 65a281c commit 06d0d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evervault/http/requestintercept.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

from evervault.errors.evervault_errors import CertDownloadError

old_request_func = requests.Session.request


class RequestIntercept(object):
def __init__(
Expand Down Expand Up @@ -53,8 +55,6 @@ def setup_domains(self, ignore_domains=[]):
self.ignore_if_endswith += ("." + domain, "@" + domain)

def setup(client_self):
old_request_func = requests.Session.request

client_self.__get_cert()

cert_path = client_self.cert_path
Expand Down

0 comments on commit 06d0d05

Please sign in to comment.