fix #41
Merge pull request #42 from PuZheng/flask-report-41

fix #41