mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:59:02 +08:00
And again double quotes..
This commit is contained in:
parent
6b61fdbe5c
commit
32880a093e
@ -56,7 +56,7 @@ class CuraEngineBackend(Backend):
|
||||
if Platform.isLinux() and not default_engine_location:
|
||||
if not os.getenv("PATH"):
|
||||
raise OSError("There is something wrong with your Linux installation.")
|
||||
for pathdir in os.getenv('PATH').split(os.pathsep):
|
||||
for pathdir in os.getenv("PATH").split(os.pathsep):
|
||||
execpath = os.path.join(pathdir, executable_name)
|
||||
if os.path.exists(execpath):
|
||||
default_engine_location = execpath
|
||||
|
Loading…
x
Reference in New Issue
Block a user