flame: adding pathsep instead of ";"

This commit is contained in:
Jakub Jezek 2022-01-12 11:16:50 +01:00
parent 384edda56f
commit 95be2c3bc8
No known key found for this signature in database
GPG key ID: D8548FBF690B100A

View file

@ -85,7 +85,7 @@ class FlamePrelaunch(PreLaunchHook):
pythonpath = self.launch_context.env.get("PYTHONPATH")
# separate it explicity by `;` that is what we use in settings
new_pythonpath = self.flame_pythonpath.split(";")
new_pythonpath = self.flame_pythonpath.split(os.pathsep)
new_pythonpath += pythonpath.split(os.pathsep)
self.launch_context.env["PYTHONPATH"] = os.pathsep.join(new_pythonpath)