Skip to content

Commit c1eb3f3

Browse files
authored
PR #47: Fix #46 'requests.api' has no attribute 'Session' @vhelke
2 parents 067bd8c + 374b966 commit c1eb3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, service_url=None, server_url=None,
7979
self.renew = renew
8080
self.username_attribute = username_attribute
8181
self.verify_ssl_certificate = verify_ssl_certificate
82-
self.session = session or requests.Session()
82+
self.session = session or requests.sessions.Session()
8383

8484
def verify_ticket(self, ticket):
8585
"""Verify ticket.

0 commit comments

Comments
 (0)