vaab / colour

Python color representations manipulation library (RGB, HSL, web, ...)
BSD 2-Clause "Simplified" License
319 stars 41 forks source link

ZeroDivisionError: float division by zero #18

Closed slyapustin closed 9 years ago

slyapustin commented 9 years ago

Throws Traceback error, than only one color requested list(Color("black").range_to(Color('white'),1))

ZeroDivisionError: float division by zero

Expected list with one element: [<Color black>,]

vaab commented 9 years ago

It should be fixed. Can you confirm this ?

slyapustin commented 9 years ago

Thanks, now works.

Do you have plan to update version, which are available at https://pypi.python.org/pypi/colour/ ?

vaab commented 9 years ago

hmm, I have some other fixes that were waiting on an other branch, I'd like to add them to the next release. How bad is this for you ? I could do a micro-release if this is important to you.

slyapustin commented 8 years ago

Not urgent for me now, i already made fixes in my project for that case. Thanks for your project!

vaab commented 8 years ago

Many thanks for you for taking time to report this bug.

vaab commented 8 years ago

I just release colour 0.1.2 with the fix on PyPI. This is a micro-release and it contains only 2 new commits.

slyapustin commented 8 years ago

Thanks!