From 11bb04419ba846342693e8046235362fa0e6962b Mon Sep 17 00:00:00 2001 From: Ed Sandor Date: Sat, 12 Dec 2020 10:13:46 -0700 Subject: [PATCH] fix parenthesis --- owrx/kiss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/kiss.py b/owrx/kiss.py index 2ef4624..5ab556d 100644 --- a/owrx/kiss.py +++ b/owrx/kiss.py @@ -60,7 +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\"" - 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) comment = "\"" + comment + "\"" logger.info(comment)