diff -r cf7c91183995 -r c3a13fcbda3a 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():