Skip to content

Commit 7b8f447

Browse files
authored
Merge pull request #2894 from alicevision/fix/stringFormatting
[core] plugins: Fix string formatting in environment setup
2 parents da1a5e4 + 9101379 commit 7b8f447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/core/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __init__(self, folder: str, configEnv: dict[str: str]):
135135
# Setup the environment dictionary
136136
self._env = os.environ.copy()
137137
self._env["PYTHONPATH"] = os.pathsep.join(
138-
[f"{_MESHROOM_ROOT}"] + self.pythonPaths + [f"{os.getenv('PYTHONPATH', '')}"])
138+
[f"{_MESHROOM_ROOT}"] + self.pythonPaths + [os.getenv('PYTHONPATH', '')])
139139
self._env["LD_LIBRARY_PATH"] = f"{os.pathsep.join(self.libPaths)}{os.pathsep}{os.getenv('LD_LIBRARY_PATH', '')}"
140140
self._env["PATH"] = f"{os.pathsep.join(self.binPaths)}{os.pathsep}{os.getenv('PATH', '')}"
141141

0 commit comments

Comments
 (0)