fix #30
Merge pull request #32 from PuZheng/flask-report-30

fix #30