DinoTools / python-overpy

Python Wrapper to access the Overpass API
https://python-overpy.readthedocs.io/
MIT License
235 stars 58 forks source link

Fixed unicode to byte array conversion in Python 2.* #33

Closed Gloix closed 8 years ago

Gloix commented 8 years ago

The bytes function in Python 2 is an alias of str() which takes only one argument. Changed the way unicode query strings are converted to utf-8 byte arrays.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 94.301% when pulling f7041d5405b360b270012255e724ad7c09a8bab9 on Gloix:master into 933541f17784828369e3dc85dc6a5b2195048c8c on DinoTools:master.

phibos commented 8 years ago

Thanks for your contribution.