diff options
-rw-r--r-- | src/saml2/entity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/entity.py b/src/saml2/entity.py index 779310b3..1a07807c 100644 --- a/src/saml2/entity.py +++ b/src/saml2/entity.py @@ -305,7 +305,7 @@ class Entity(HTTPBase): sfunc = getattr(self.metadata, service) - if bindings is None: + if not bindings: if request and request.protocol_binding: bindings = [request.protocol_binding] else: |