junzis / pyModeS

Python decoder for Mode S and ADS-B signals
GNU General Public License v3.0
546 stars 153 forks source link

Continue reading from socket if no data received #70

Closed ctlajoie closed 4 years ago

ctlajoie commented 4 years ago

Without this change, modeslive crashes if no data is available on the socket, which can happen during normal operation of a receiver if no aircraft are in range.

Tested on Python 3.7

junzis commented 4 years ago

Looks good! Thank you @ctlajoie