sumnerboy12 / mqtt-gpio-monitor

Python script for sending/receiving commands to/from GPIO pins via MQTT messages
46 stars 23 forks source link

Some errors with the program... #2

Closed rbanda85 closed 10 years ago

rbanda85 commented 10 years ago

Hi, summerboy

I was making some testing with this code, and find some errors on my application.

Was only two errors that RPi showed to me.

Line 73, 82, and 272. You named the object "logger" but in all of your code you use the object "logging". And because of this the program doesn't was working until I change "logger" for "logging".

Then on line 264. The terminal every time I run the program, show me a message that GPIO was not iniziated and there is nothing to cleanup. I delete this Line and then the program works like a charm.

I can upload the code I modified but I'm not in my computer right now.

I'm very new on this portal and sorry if isn't the correct way to review an issue.

sumnerboy12 commented 10 years ago

Thanks for finding those errors - not sure how they ended up in there as I have been running this code for months with no issues! Fixed now, cheers.