type hinting is invalid. this shouldn't work, but obviously type hinting

is broken. remove :(
This commit is contained in:
Jakob Ketterl 2021-04-09 18:29:36 +02:00
parent d18a4c83ac
commit 8ce1192811

View File

@ -4,7 +4,7 @@ from owrx.audio import AudioChopper
class AudioHandler(Output): class AudioHandler(Output):
def __init__(self, active_dsp: "csdr.csdr.Dsp", mode: str): def __init__(self, active_dsp, mode: str):
self.dsp = active_dsp self.dsp = active_dsp
self.mode = Modes.findByModulation(mode) self.mode = Modes.findByModulation(mode)
if mode is None or not isinstance(self.mode, AudioChopperMode): if mode is None or not isinstance(self.mode, AudioChopperMode):