mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
fix some pep8 violations
This commit is contained in:
parent
295f0005d6
commit
0b6814d7fb
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 ...")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue