fix an unset property error
This commit is contained in:
parent
181855e7a4
commit
fe45d139ad
@ -65,12 +65,12 @@ class ServiceHandler(SdrSourceEventClient):
|
||||
self.services = []
|
||||
self.source = source
|
||||
self.startupTimer = None
|
||||
self.scheduler = None
|
||||
self.source.addClient(self)
|
||||
props = self.source.getProps()
|
||||
props.filter("center_freq", "samp_rate").wire(self.onFrequencyChange)
|
||||
if self.source.isAvailable():
|
||||
self.scheduleServiceStartup()
|
||||
self.scheduler = None
|
||||
if "schedule" in props or "scheduler" in props:
|
||||
self.scheduler = ServiceScheduler(self.source)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user