From 22589fbfacef8b39ce4fd7ff535efc79577db7c8 Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Mon, 30 Jan 2023 22:35:30 -0500 Subject: [PATCH] Fixing boolean type. --- csdr/chain/digimodes.py | 2 +- owrx/modes.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/csdr/chain/digimodes.py b/csdr/chain/digimodes.py index ba849e0f..88e2b528 100644 --- a/csdr/chain/digimodes.py +++ b/csdr/chain/digimodes.py @@ -112,7 +112,7 @@ class CwDemodulator(SecondaryDemodulator, SecondarySelectorChain): class RttyDemodulator(SecondaryDemodulator, SecondarySelectorChain): - def __init__(self, targetWidth: float, baudRate: float, reverse: boolean): + def __init__(self, targetWidth: float, baudRate: float, reverse: bool): self.sampleRate = 12000 self.targetWidth = targetWidth self.baudRate = baudRate diff --git a/owrx/modes.py b/owrx/modes.py index 6e1ae8e1..e7de647b 100644 --- a/owrx/modes.py +++ b/owrx/modes.py @@ -139,8 +139,8 @@ class Modes(object): squelch=False, ), DigitalMode("cwdecoder", "CWDecoder", underlying=["usb"]), - DigitalMode("rtty170", "RTTY170", underlying=["usb"]), - DigitalMode("rtty450", "RTTY450", underlying=["usb"]), + DigitalMode("rtty170", "RTTY-170", underlying=["usb"]), + DigitalMode("rtty450", "RTTY-450", underlying=["usb"]), ] @staticmethod