Browse Source

fix: Check if _s exists in ConnectionManager before deleting it (#429)

pull/433/head v2.15.3
Petr Hála 2 years ago
committed by GitHub
parent
commit
3edb200656
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/keycloak/connection.py

1
src/keycloak/connection.py

@ -86,6 +86,7 @@ class ConnectionManager(object):
def __del__(self): def __del__(self):
"""Del method.""" """Del method."""
if hasattr(self, "_s"):
self._s.close() self._s.close()
@property @property

Loading…
Cancel
Save