beremiz
Clone
Summary
Browse
Changes
Graph
cosmetic fix
wxPython4
2023-01-01, Edouard Tisserant
c3a13fcbda3a
Parents
cf7c91183995
Children
961903c0b76d
cosmetic fix
1 files changed, 2 insertions(+), 3 deletions(-)
+2
-3
LocalRuntimeMixin.py
--- a/LocalRuntimeMixin.py Sun Jan 01 22:39:41 2023 +0100
+++ b/LocalRuntimeMixin.py Sun Jan 01 22:40:38 2023 +0100
@@ -6,13 +6,12 @@
import tempfile
import random
import shutil
+
from util.ProcessLogger import ProcessLogger
from util.paths import Bpath
LocalRuntimeInterpreterPath = \
- os.environ["BEREMIZPYTHONPATH"] \
- if os.environ.has_key("BEREMIZPYTHONPATH") \
- else sys.executable
+ os.environ.get("BEREMIZPYTHONPATH", sys.executable)
class LocalRuntimeMixin():