Update query.py

UTF 8 Decode
Merge pull request #14 from miklagard/patch-1

Update query.py