Skip to content

Commit

Permalink
Merge pull request #189 from gerasim13/pypy
Browse files Browse the repository at this point in the history
Pypy compatibility patch.
  • Loading branch information
losintikfos committed Jan 9, 2016
2 parents 7b06b40 + 90e3365 commit 152013e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_mongoengine/operation_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _unpack_response(response, *args, **kwargs):
*args,
**kwargs
)
response_sizes.append(sys.getsizeof(response) / 1024.0)
response_sizes.append(sys.getsizeof(response, len(response)) / 1024.0)
return result

# Wrap Cursor.insert for getting queries
Expand Down

0 comments on commit 152013e

Please sign in to comment.