I am a bit new to this, but had a quick question. I am building a retropie setup with the blinkt. I have a push button that turns it on, the blinkt comes on perfectly fine, just when shuts down the blinkt is still on as well. Anyone know what i can add to the rainbow.py code to get it to shutoff as well

hmm. yeah after reading the doc and messing with the code setting it to true. The blinkt still stays on after shutdown. If i manually start the script however with sudo python or ./, i can stop it and it turns off. I have it set to start in my /etc/rc.local startup through. Even if i kill the pid after startup , the blinkt will still be on while the pi is running or not. Any other ideas ?