mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Typo
This commit is contained in:
parent
045eb5601f
commit
3a04def0eb
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 334 B After Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 394 B After Width: | Height: | Size: 2.4 KiB |
|
@ -35,7 +35,7 @@ class MongoDumpMiddleware(object):
|
|||
if not self.activated(profiler): return
|
||||
self._used_msg_ids = []
|
||||
if (not getattr(MongoClient, '_logging', False) and
|
||||
hasattr(MongoClient, '_send_message_with_response')
|
||||
hasattr(MongoClient, '_send_message_with_response') and
|
||||
hasattr(MongoReplicaSetClient, '_send_message_with_response')):
|
||||
# save old methods
|
||||
setattr(MongoClient, '_logging', True)
|
||||
|
|
Loading…
Add table
Reference in a new issue