debug comment length

This commit is contained in:
Ed Sandor 2020-12-12 10:15:26 -07:00
parent 11bb04419b
commit f83790a5be
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ 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 + "\""