From 024a6684ceb8e7d9eb3a78e2dd6cdd85da0870cb Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Thu, 11 Feb 2021 23:07:45 +0100 Subject: [PATCH] fix undefined variable --- csdr/csdr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdr/csdr.py b/csdr/csdr.py index 6763774..e23eeb0 100644 --- a/csdr/csdr.py +++ b/csdr/csdr.py @@ -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