druid-io / pydruid

A Python connector for Druid
Other
507 stars 198 forks source link

fix python3 compatibility: utf-8 decode bytestream from urlopen #44

Closed dakra closed 8 years ago

dakra commented 8 years ago

On python3 urllib.request.urlopen returns a bytestring that can't be passed to json.loads.

dakra commented 8 years ago

Just saw #39 includes the same fix so if it gets merged this one can be closed.