Skip to content

Commit

Permalink
Update ais2adsb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jvde-github authored Feb 3, 2024
1 parent 593ea7b commit 15a5b81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ais2adsb.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ def parseCommandLine():
decoded = decode(nmea).asdict()
except:
continue

if decoded['msg_type']==9 or settings['includeShips'] or (decoded['mmsi'] in ICAOmap):

# removed or (decoded['mmsi'] in ICAOmap) in below
if decoded['msg_type']==9 or settings['includeShips']:
sendBaseStation(decoded)
count = count + 1

Expand Down

0 comments on commit 15a5b81

Please sign in to comment.