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
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ from owrx.audio import AudioChopper
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.mode = Modes.findByModulation(mode)
if mode is None or not isinstance(self.mode, AudioChopperMode):