Closed xaguzman closed 6 years ago
It was a bug in remove_callback
implementation, it should work fine now.
Excuse me for the dumb question...not an experienced python user.
How can I get the latest changes? I tried updating via pip:
sudo pip install cec --upgrade
But it tells me that the package is updated, do I need to pull from source?
You would have to wait for a new release to be able to install it from pypi.
Use the following command to install from current master:
sudo pip install git+https://github.com/trainman419/python-cec.git@master#egg=cec
I am getting this error whenever I try to call the remove_callback method, I am succesful to initialize and add callbacks to my functions, however, after I am done with the CEC controls, I am unable to remove the callbacks.
This is being used in a raspberry pi boot up menu, and it runs continuously, after the user selects the boot option, I would like to disable the cec controls, thus, this script is never going to quit / finish.
Is there any special consideration to remove callbacks?
Here's the code used: