Closed mfraser closed 4 years ago
you need to import it:
from colorzero import Color
I created a pull request to fix this and also it should be setting the tree.color attribute not the tree variable itself.
I'll add on top of that tomorrow with a graceful exit on keyboard interruption
On Thu, 12 Dec 2019, 21:47 ajgbarnes, notifications@github.com wrote:
I created a pull request to fix this and also it should be setting the tree.color attribute not the tree variable itself.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ThePiHut/rgbxmastree/issues/1?email_source=notifications&email_token=AAFLGDLDTZOF4N547MFVYOLQYKWQ5A5CNFSM4JZNOHDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGYEYOA#issuecomment-565201976, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFLGDOGUFCEFTDJUWGCCODQYKWQ5ANCNFSM4JZNOHDA .
Sorry, fixed the examples now.
Trying the examples huecycle.py, rgb.py and onebyone.py, I get the error NameError: name 'Color' is not defined