fix Python statistics reporting code
Merge pull request #482 from ros/statistics_bug

fix python statistics logger