更新 'ADSB_Encoder.py'

This commit is contained in:
zhongjin 2022-12-13 18:57:58 +08:00
parent 824f7e48f3
commit 29cf54bd35

View File

@ -397,11 +397,11 @@ if __name__ == "__main__":
argc = len(argv)
if argc != 5:
print
print 'Usage: '+ argv[0] +' <ICAO> <Latitude> <Longitude> <Altitude>'
print
print ' Example: '+ argv[0] +' 0xABCDEF 12.34 56.78 9999.0'
print
print()
print( 'Usage: '+ argv[0] +' <ICAO> <Latitude> <Longitude> <Altitude>')
print()
print( ' Example: '+ argv[0] +' 0xABCDEF 12.34 56.78 9999.0')
print()
exit(2)
icao = int(argv[1], 16)