in several situations I got a crash due to having the strip() called on a None object. This simple change should solve that.
Fixed an issue with a readline from socket in bpd
There are a couple of slight problems with this change:
if not line: break
I got this crash several times after bluelet reported a "error: [Errno 104] Connection reset by peer", which I thought was a legitimate exception after all (the problem seemingly on the client side).
Let me know what you think about it, in the meantime I'll add the second check.
Added a second check for empty line in bpd after my latest change
changelog note for BPD crash (GH-40)
Awesome; thanks for the fix! Meanwhile, I'll continue trying to figure out what's going wrong inside Bluelet...