Commit d3455883 by Ross Lawley

Update debug_toolbar_mongo/operation_tracker.py

parent 7e14d325
......@@ -83,7 +83,7 @@ def _update(collection_self, spec, document, upsert=False,
@functools.wraps(_original_methods['remove'])
def _remove(collection_self, spec_or_id, safe=False, **kwargs):
start_time = time.time()
result = _original_methods['insert'](
result = _original_methods['remove'](
collection_self,
spec_or_id,
safe=safe,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment