Skip to content

Commit

Permalink
Fix problems with operation tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasst committed Jan 28, 2013
1 parent 9bd1b02 commit 215ae89
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 @@ -176,7 +176,7 @@ def privar(name):
'time': total_time,
'operation': 'query',
'stack_trace': stack_trace,
'size': response_sizes[-1],
'size': response_sizes[-1] if response_sizes else 0,
'data': copy.copy(privar('data')),
'internal': internal
}
Expand Down

0 comments on commit 215ae89

Please sign in to comment.