Skip to content

Commit 9c5867f

Browse files
fix None bug
1 parent 78fb2e8 commit 9c5867f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packetraven/connections/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class PacketSource(Connection, ABC):
4949
"""
5050

5151
def __init__(self, location: str, callsigns: [str] = None):
52-
if len(callsigns) == 0:
52+
if callsigns is not None and len(callsigns) == 0:
5353
callsigns = None
5454
self.callsigns = callsigns
5555
super().__init__(location)

0 commit comments

Comments
 (0)