Update util.py
Merge pull request #2 from qby/patch-2

Update util.py