d3v-null / wp-api-python

A Python wrapper for the WooCommerce API.
MIT License
141 stars 34 forks source link

Update api.py #7

Closed mattbonnell closed 5 years ago

mattbonnell commented 5 years ago

Changed a call to unicode() to a call to str() for python3 compatibility.

Got rid of typo

d3v-null commented 5 years ago

Thanks @mattbonnell , I've solved this using six.text_type instead (compatible with python 2 and 3), but I appreciate you bringing this to my attention https://github.com/derwentx/wp-api-python/commit/0664730c6fee4db5e4e16c92db75c8d7db2c04e4