From 1cc88ff3622e97b3c0d215f90d435f1367ef4bfd Mon Sep 17 00:00:00 2001 From: Ed Sandor Date: Sat, 12 Dec 2020 11:09:12 -0700 Subject: [PATCH] if check fix --- owrx/kiss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/kiss.py b/owrx/kiss.py index 442371a..278cb87 100644 --- a/owrx/kiss.py +++ b/owrx/kiss.py @@ -62,7 +62,7 @@ IGLOGIN {callsign} {password} if((len(comment) > 0) and ((comment[0] != '"') or (comment[len(comment)-1] != '"'))): comment = "\"" + comment + "\"" - else if(len(comment) > 0): + else if(len(comment) == 0): 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(