Skip to content

Commit

Permalink
♿ Use py2/3 compatible dict iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Oct 28, 2018
1 parent 4025070 commit e19afff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_mongo_profiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def sanitize_dict(d, reverse=False):
elif not isinstance(d, dict):
return d

for k, v in d.iteritems():
for k, v in d.items():
if isinstance(v, dict):
v = sanitize_dict(v, reverse=reverse)
elif isinstance(v, list):
Expand Down

0 comments on commit e19afff

Please sign in to comment.