Using double quotes of course

This commit is contained in:
Thomas Karl Pietrowski 2016-08-02 08:49:09 +02:00
parent fb1b199c6a
commit 6b61fdbe5c

View file

@ -54,7 +54,7 @@ class CuraEngineBackend(Backend):
if Platform.isWindows():
default_engine_location += ".exe"
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.")
for pathdir in os.getenv('PATH').split(os.pathsep):
execpath = os.path.join(pathdir, executable_name)