Moved setStdin to BaseClass

This commit is contained in:
B-Watch 2020-07-08 11:55:46 +02:00
parent 35ada90130
commit ba2fab398e
4 changed files with 7 additions and 10 deletions

View file

@ -41,9 +41,7 @@ class SdrInput(InputBase):
sdrProc.setStderr(open(paths.LOG_PATH + "rtl_fm.log", "a"))
sdrProc.start()
mmProc = self.startmm(decoderConfig)
mmProc.setStdin(sdrProc.stdout)
mmProc.setStderr(open(paths.LOG_PATH + "multimon-ng.log", "a"))
mmProc = self.startmm(decoderConfig, sdrProc.stdout)
mmProc.start()
logging.info("start decoding")