From 291288a7b73de8bfe49cb490e6653ff896e8c429 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 3 Apr 2023 23:30:22 -0400 Subject: [PATCH] Fixing lint warning. --- owrx/aprs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/aprs/__init__.py b/owrx/aprs/__init__.py index a88c56f8..e1f7cc9f 100644 --- a/owrx/aprs/__init__.py +++ b/owrx/aprs/__init__.py @@ -71,7 +71,7 @@ class Ax25Parser(PickleModule): cs = bytes([b >> 1 for b in input[0:6]]).decode(encoding, "replace").strip() ssid = (input[6] & 0b00011110) >> 1 # add asterisks to visited callsigns - done = "*" if markVisited and (input[6] & 0b10000000) is not 0 else "" + done = "*" if markVisited and (input[6] & 0b10000000)!=0 else "" if ssid > 0: return "{callsign}-{ssid}{done}".format(callsign=cs, ssid=ssid, done=done) else: