fix undefined variable

This commit is contained in:
Jakob Ketterl 2021-02-11 23:07:45 +01:00
parent aad757df36
commit 024a6684ce
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ class dsp(object):
# it would block if not read. by piping it to devnull, we avoid a potential pitfall here.
secondary_output = subprocess.DEVNULL if self.isPacket() else subprocess.PIPE
self.secondary_process_demod = subprocess.Popen(
secondary_command_demod, stdout=secondary_output, shell=True, start_new_session=True, env=my_env
secondary_command_demod, stdout=secondary_output, shell=True, start_new_session=True
)
self.secondary_processes_running = True