Cleanup debug logging
This commit is contained in:
parent
f83790a5be
commit
4c3d037e58
@ -60,11 +60,8 @@ IGLOGIN {callsign} {password}
|
||||
offset = "OFFSET=" + str(pm["aprs_igate_offset"]) if "aprs_igate_offset" in pm else ""
|
||||
comment = str(pm["aprs_igate_comment"]) if "aprs_igate_comment" in pm else "\"OpenWebRX APRS gateway\""
|
||||
|
||||
logger.info(str(len(comment)))
|
||||
if((len(comment) > 0) and ((comment[0] != '"') or (comment[len(comment)-1] != '"'))):
|
||||
logger.info(comment)
|
||||
comment = "\"" + comment + "\""
|
||||
logger.info(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(
|
||||
symbol=symbol, lat=lat, lon=lon, power=power, height=height, gain=gain, adir=adir, freq=freq, tone=tone, offset=offset, comment=comment )
|
||||
|
Loading…
Reference in New Issue
Block a user