Skip to content

Commit 621c90c

Browse files
committed
Fix py2 incompatibility introduced in be6822b
1 parent cad4c25 commit 621c90c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymongo/mongo_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,8 +629,8 @@ def __init__(
629629
'document_class': document_class,
630630
'tz_aware': tz_aware,
631631
'connect': connect,
632-
'type_registry': type_registry,
633-
**kwargs}
632+
'type_registry': type_registry}
633+
self.__init_kwargs.update(kwargs)
634634

635635
if host is None:
636636
host = self.HOST

0 commit comments

Comments
 (0)