mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-03-15 17:34:43 +01:00
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 a new issue