mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 11:33:14 +08:00
Using double quotes of course
This commit is contained in:
parent
fb1b199c6a
commit
6b61fdbe5c
@ -54,7 +54,7 @@ class CuraEngineBackend(Backend):
|
|||||||
if Platform.isWindows():
|
if Platform.isWindows():
|
||||||
default_engine_location += ".exe"
|
default_engine_location += ".exe"
|
||||||
if Platform.isLinux() and not default_engine_location:
|
if Platform.isLinux() and not default_engine_location:
|
||||||
if not os.getenv('PATH'):
|
if not os.getenv("PATH"):
|
||||||
raise OSError("There is something wrong with your Linux installation.")
|
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)
|
execpath = os.path.join(pathdir, executable_name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user