This is Python not C

This commit is contained in:
Ed Sandor 2020-12-12 11:10:15 -07:00
parent 1cc88ff362
commit b04dcc18d0

View File

@ -62,7 +62,7 @@ IGLOGIN {callsign} {password}
if((len(comment) > 0) and ((comment[0] != '"') or (comment[len(comment)-1] != '"'))): if((len(comment) > 0) and ((comment[0] != '"') or (comment[len(comment)-1] != '"'))):
comment = "\"" + comment + "\"" comment = "\"" + comment + "\""
else if(len(comment) == 0): elif(len(comment) == 0):
comment = "\"\"" comment = "\"\""
pbeacon= "PBEACON sendto=IG delay=0:30 every=60:00 symbol={symbol} lat={lat} long={lon} POWER={power} {height} {gain} {adir} {freq} {tone} {offset} comment={comment}".format( pbeacon= "PBEACON sendto=IG delay=0:30 every=60:00 symbol={symbol} lat={lat} long={lon} POWER={power} {height} {gain} {adir} {freq} {tone} {offset} comment={comment}".format(