fix some pep8 violations

This commit is contained in:
Bastian Schroll 2019-10-08 20:29:00 +02:00
parent 295f0005d6
commit 0b6814d7fb
2 changed files with 4 additions and 7 deletions

View file

@ -21,7 +21,7 @@ sdrProc.addArgument("-m fm")
sdrProc.start(True) sdrProc.start(True)
mmProc = ProcessManager("/opt/multimon/multimon-ng", textMode=True) mmProc = ProcessManager("/opt/multimon/multimon-ng", textMode=True)
#mmProc.addArgument("-i") # mmProc.addArgument("-i")
# mmProc.addArgument("-a POCSAG1200 -a FMSFSK -a ZVEI1") # mmProc.addArgument("-a POCSAG1200 -a FMSFSK -a ZVEI1")
mmProc.addArgument("-f aplha") mmProc.addArgument("-f aplha")
mmProc.addArgument("-t raw /dev/stdin -") mmProc.addArgument("-t raw /dev/stdin -")
@ -36,5 +36,3 @@ while 1:
line = mmProc.readline() line = mmProc.readline()
if line: if line:
print(line) print(line)

View file

@ -89,12 +89,12 @@ try:
sdrProc.start(True) sdrProc.start(True)
mmProc = ProcessManager("/opt/multimon/multimon-ng", textMode=True) mmProc = ProcessManager("/opt/multimon/multimon-ng", textMode=True)
#mmProc.addArgument("-i") # mmProc.addArgument("-i")
#mmProc.addArgument("-a POCSAG1200 -a FMSFSK -a ZVEI1") # mmProc.addArgument("-a POCSAG1200 -a FMSFSK -a ZVEI1")
mmProc.addArgument("-f aplha") mmProc.addArgument("-f aplha")
mmProc.addArgument("-t raw /dev/stdin -") mmProc.addArgument("-t raw /dev/stdin -")
mmProc.setStdin(sdrProc.stdout) mmProc.setStdin(sdrProc.stdout)
#mmProc.addArgument("./poc1200.raw") # mmProc.addArgument("./poc1200.raw")
mmProc.start(True) mmProc.start(True)
mmProc.skipLines(5) mmProc.skipLines(5)
while 1: while 1:
@ -159,4 +159,3 @@ finally:
logging.debug("Starting shutdown routine") logging.debug("Starting shutdown routine")
bwClient.disconnect() bwClient.disconnect()
logging.debug("BOSWatch client has stopped ...") logging.debug("BOSWatch client has stopped ...")