fix parenthesis
This commit is contained in:
parent
519b02da79
commit
11bb04419b
@ -60,7 +60,7 @@ IGLOGIN {callsign} {password}
|
|||||||
offset = "OFFSET=" + str(pm["aprs_igate_offset"]) if "aprs_igate_offset" in pm else ""
|
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\""
|
comment = str(pm["aprs_igate_comment"]) if "aprs_igate_comment" in pm else "\"OpenWebRX APRS gateway\""
|
||||||
|
|
||||||
if(len(comment) > 0 and ((comment[0] != '"') or (comment[len(comment)-1] != '"')))):
|
if((len(comment) > 0) and ((comment[0] != '"') or (comment[len(comment)-1] != '"'))):
|
||||||
logger.info(comment)
|
logger.info(comment)
|
||||||
comment = "\"" + comment + "\""
|
comment = "\"" + comment + "\""
|
||||||
logger.info(comment)
|
logger.info(comment)
|
||||||
|
Loading…
Reference in New Issue
Block a user