From 907359df82b4d8c03605a7adb56796cbf6151780 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 9 Apr 2021 22:40:30 +0200 Subject: [PATCH] fix js8 parser --- csdr/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/csdr/__init__.py b/csdr/__init__.py index dbc08d9..ef400bd 100644 --- a/csdr/__init__.py +++ b/csdr/__init__.py @@ -376,7 +376,8 @@ class Dsp(DirewolfConfigSubscriber): if self.isWsjtMode() or self.isJs8(): handler = AudioHandler(self, self.get_secondary_demodulator()) handler.send_output("audio", self.secondary_process_demod.stdout.read) - self.output.send_output("wsjt_demod", handler.read) + output_type = "js8_demod" if self.isJs8() else "wsjt_demod" + self.output.send_output(output_type, handler.read) elif self.isPacket(): # we best get the ax25 packets from the kiss socket kiss = KissClient(self.direwolf_config.getPort())