From d18a4c83acff09aededbbdd7d71639579ab4967d Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 9 Apr 2021 18:29:08 +0200 Subject: [PATCH] don't send bookmarks if the parameters are not available --- owrx/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/connection.py b/owrx/connection.py index 07cfcda..0081ac3 100644 --- a/owrx/connection.py +++ b/owrx/connection.py @@ -212,7 +212,7 @@ class OpenWebRxReceiverClient(OpenWebRxClient, SdrSourceEventClient): srh = configProps["samp_rate"] / 2 frequencyRange = (cf - srh, cf + srh) self.bookmarkSub = Bookmarks.getSharedInstance().subscribe(frequencyRange, sendBookmarks) - sendBookmarks() + sendBookmarks() self.configSubs.append(configProps.wire(sendConfig)) self.configSubs.append(stack.filter("center_freq", "samp_rate").wire(updateBookmarkSubscription))