type hinting is invalid. this shouldn't work, but obviously type hinting
is broken. remove :(
This commit is contained in:
parent
d18a4c83ac
commit
8ce1192811
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user