if check fix
This commit is contained in:
parent
3435052e27
commit
1cc88ff362
@ -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):
|
else if(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(
|
||||||
|
Loading…
Reference in New Issue
Block a user