Update util.py
Merge pull request #7 from chengguopiao/patch-8

Update util.py