IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.6k stars 490 forks source link

Remove extra indentation in _getResp() function causing it to not wait for the "wanted" response type #348

Closed ronnymajani closed 4 years ago

ronnymajani commented 5 years ago

The extra indentation in _getResp causes the check for not receiving the desired response type to be skipped. I'm assuming that check allows the function to loop until the desired response is received. But due to the extra indentation it's skipped.