Skip to content

[Bug] hex_to_hue fails when all 3 colors are the same #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tomaae opened this issue Oct 12, 2020 · 1 comment
Open

[Bug] hex_to_hue fails when all 3 colors are the same #36

tomaae opened this issue Oct 12, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@tomaae
Copy link
Owner

tomaae commented Oct 12, 2020

File "site-packages\websockets\server.py", line 191, in handler
File "lib\overlay.py", line 134, in Connection
File "lib\hue.py", line 131, in state
File "lib\hue.py", line 325, in hex_to_hue
ZeroDivisionError: float division by zero

@tomaae tomaae added the bug Something isn't working label Oct 12, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.98. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@tomaae tomaae self-assigned this Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant