We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 309aaba commit 587ba91Copy full SHA for 587ba91
AUTHORS
@@ -26,4 +26,4 @@ that much better:
26
* RealJTG - https://github.com/RealJTG
27
* Peter D. Gray
28
* Massimo Santini
29
-^ Len Buckens - https://github.com/buckensl
+* Len Buckens - https://github.com/buckensl
flask_mongoengine/__init__.py
@@ -31,7 +31,7 @@ def _create_connection(conn_settings):
31
connections[conn.get('alias')] = _create_connection(conn)
32
return connections
33
34
- conn = dict((k.lower(), v) for k, v in conn_settings.items() if v is not None)
+ conn = {k.lower(): v for k, v in conn_settings.items() if v is not None}
35
36
if 'replicaset' in conn:
37
conn['replicaSet'] = conn.pop('replicaset')
0 commit comments