ppannuto / python-saleae

Python library to control a Saleae Logic Analyzer
Apache License 2.0
124 stars 55 forks source link

get_connected_devices: Sturdier handling response #28

Closed Tris-ares closed 7 years ago

Tris-ares commented 7 years ago

Response to command 'GET_CONNECTED_DEVICES' can vary from '' to 'True\n' or a previous command response. This is an improved and sturdier version of commit 288d8ef676e41551d9e18da7a85281ac067c4651

ppannuto commented 7 years ago

Could you toss a comment in the code to explain to future-me why that while loop needs to be there? Your comment from this PR is probably perfect.

Thanks for the fixes :)