Skip to content

Commit 61eec45

Browse files
authored
fix: add default value for UnknownRadio
1 parent 1722d61 commit 61eec45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

opendis/record.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def parse(self, inputStream: DataInputStream) -> None:
265265
class UnknownRadio(ModulationParametersRecord):
266266
"""Placeholder for unknown or unimplemented radio types."""
267267

268-
def __init__(self, data: bytes):
268+
def __init__(self, data: bytes = b''):
269269
self.data = data
270270

271271
def marshalledSize(self) -> int:

0 commit comments

Comments
 (0)