summaryrefslogtreecommitdiff
path: root/src/saml2/mongo_store.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/saml2/mongo_store.py')
-rw-r--r--src/saml2/mongo_store.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/mongo_store.py b/src/saml2/mongo_store.py
index 143dd571..cfadd1c3 100644
--- a/src/saml2/mongo_store.py
+++ b/src/saml2/mongo_store.py
@@ -267,7 +267,7 @@ def _mdb_get_database(uri, **kwargs):
:params database: name as string or (uri, name)
:returns: pymongo database object
"""
- if not "tz_aware" in kwargs:
+ if "tz_aware" not in kwargs:
# default, but not forced
kwargs["tz_aware"] = True