rename startmm to getDecoderInstance

This commit is contained in:
B-Watch 2020-07-08 20:33:58 +02:00
parent ba2fab398e
commit e1afdcec7d
4 changed files with 4 additions and 4 deletions

View file

@ -66,7 +66,7 @@ class InputBase(ABC):
logging.debug("Add received data to queue")
print(data)
def startmm(self, decoderConfig, StdIn):
def getDecoderInstance(self, decoderConfig, StdIn):
mmProc = ProcessManager(str(decoderConfig.get("mmPath", default="multimon-ng")), textMode=True)
if decoderConfig.get("fms", default=0):
mmProc.addArgument("-a FMSFSK")