Closed Tristor closed 4 years ago
I'm pretty sure the issue is that https://github.com/jessedp/pihole5-list-tool/blob/95f6f77f6211bb360481d4fa166174b407f41aba/ph5lt.py#L99 is the codepath when the Docker image isn't present and it's checking for a variable that was never declared, since it's declared in the conditional codepath above that is never followed.
Yeah, that was pretty dumb of me.
Thanks for the quick fix :)
Howdy,
It looks like a recent change to add auto-detection for Docker may be the cause of this, but I am not primarily a Python dev so I didn't dig super deep. If you aren't using Docker and instead installed directly on a Raspberry Pi with the latest release it fails.
Steps to Reproduce:
apt-get install python3-pip -y
sudo pip3 install pihole5-list-tool --update
sudo pihole5-list-tool