shibukawa / imagesize_py

MIT License
227 stars 44 forks source link

Use the same code for Python 2/3 #1

Closed xantares closed 8 years ago

xantares commented 8 years ago

b qualifier is ignored in Python 2 as the default string type is byte anyway so the code from py3.py is valid on both python 2 and 3

shibukawa commented 8 years ago

Thank you for your PR. I will check and merge :)