remove port flag and turn rtltcp_compat into an option

This commit is contained in:
Jakob Ketterl
2020-11-23 15:26:01 +01:00
parent 2579b9be26
commit 781b4383d6
2 changed files with 2 additions and 5 deletions

View File

@ -59,10 +59,7 @@ class SdrSource(ABC):
self.activateProfile()
self.wireEvents()
if "port" in props and props["port"] is not None:
self.port = props["port"]
else:
self.port = getAvailablePort()
self.port = getAvailablePort()
self.monitor = None
self.clients = []
self.spectrumClients = []