branch | wxPython4 |
changeset 3714 | c3a13fcbda3a |
parent 3566 | 7f5659b1eeb8 |
child 3721 | 6365e33fb11f |
--- 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():