更新 'ADSB_Encoder.py'
This commit is contained in:
parent
824f7e48f3
commit
29cf54bd35
@ -397,11 +397,11 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
argc = len(argv)
|
argc = len(argv)
|
||||||
if argc != 5:
|
if argc != 5:
|
||||||
print
|
print()
|
||||||
print 'Usage: '+ argv[0] +' <ICAO> <Latitude> <Longitude> <Altitude>'
|
print( 'Usage: '+ argv[0] +' <ICAO> <Latitude> <Longitude> <Altitude>')
|
||||||
print
|
print()
|
||||||
print ' Example: '+ argv[0] +' 0xABCDEF 12.34 56.78 9999.0'
|
print( ' Example: '+ argv[0] +' 0xABCDEF 12.34 56.78 9999.0')
|
||||||
print
|
print()
|
||||||
exit(2)
|
exit(2)
|
||||||
|
|
||||||
icao = int(argv[1], 16)
|
icao = int(argv[1], 16)
|
||||||
|
Loading…
Reference in New Issue
Block a user