Bugfix: bot.py
This commit is contained in:
4
bot.py
4
bot.py
@@ -122,6 +122,4 @@ class Bot(commands.Bot):
|
||||
if self.sdr_process:
|
||||
self.sdr_process.terminate()
|
||||
|
||||
self.sdr_process = subprocess.Popen(["rtl_fm", f"-M {mode}", f"-f {freq}", f"-g {gain}",
|
||||
f"-l {squelch}", f"-s {sample_rate}",
|
||||
f"| play -t raw -r 32k -es -b 16 -c 1 -V1 -"], shell=True)
|
||||
self.sdr_process = subprocess.Popen(["rtl_fm", f"-M {mode} -f {freq} -g {gain} -l {squelch} -s {sample_rate} | play -t raw -r 32k -es -b 16 -c 1 -V1 -"], shell=True)
|
||||
|
||||
Reference in New Issue
Block a user