DebuggerInterfacePython: fixed an issue causing the environment variables not being send to the debug client.

Fri, 05 Feb 2021 09:48:22 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 05 Feb 2021 09:48:22 +0100
changeset 8074
a54194132814
parent 8073
6b1c43d49dbd
child 8075
6774034a1e0f

DebuggerInterfacePython: fixed an issue causing the environment variables not being send to the debug client.

eric6/Debugger/DebuggerInterfacePython.py file | annotate | diff | comparison | revisions
--- a/eric6/Debugger/DebuggerInterfacePython.py	Fri Feb 05 08:16:14 2021 +0100
+++ b/eric6/Debugger/DebuggerInterfacePython.py	Fri Feb 05 09:48:22 2021 +0100
@@ -683,9 +683,8 @@
         @param env environment settings
         @type dict
         """
-        if self.__master:
-            self.__sendJsonCommand("RequestEnvironment", {"environment": env},
-                                   self.__master)
+        self.__sendJsonCommand("RequestEnvironment", {"environment": env},
+                               self.__master)
     
     def remoteLoad(self, fn, argv, wd, traceInterpreter=False,
                    autoContinue=True, enableMultiprocess=False):

eric ide

mercurial