Commit 0e05413c by Colin Howe

Merge pull request #7 from rozza/master

Typo in _remove - tries to insert !
parents 7e14d325 d3455883
......@@ -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