Skip to content

Commit b6322a0

Browse files
committed
Corrections around locations of exes
1 parent efd5465 commit b6322a0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.vscode/launch.docker.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@
9393
},
9494
"name": "ALPR",
9595
"type": "python",
96-
"python": "/app/modules/ALPR/bin/linux/python38/venv/bin/python",
96+
// "python": "/app/modules/ALPR/bin/ubuntu/python38/venv/bin/python",
97+
"python": "/app/modules/ALPR/bin/debian/python38/venv/bin/python",
9798
"request": "launch",
9899
"program": "ALPR_adapter.py",
99100
"console": "integratedTerminal",

src/server/Modules/ModuleSettings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,14 +180,14 @@ public string GetFilePath(ModuleConfig module)
180180

181181
// If it is a Python3X command then replace our marker in the default python path to
182182
// match the requested interpreter location in order to build the
183-
// "/runtimes/bin/linux/python38/venv/bin/python3" path.
183+
// "/runtimes/bin/ubuntu/python38/venv/bin/python3" path.
184184
if (runtime.StartsWith("python"))
185185
{
186186
// HACK: In Docker, Python installations for modules can be local for downloaded
187187
// modules, or shared for pre-installed modules. For preinstalled modules hardcoded
188188
// into the Docker image, the python runtimes and package are installs at the
189189
// system level, and not in a virtual environment. This means Python command is in
190-
// the format of "python3.N" rather than "/runtimes/bin/linux/python3N/venv/bin/python3"
190+
// the format of "python3.N" rather than "/runtimes/bin/ubuntu/python3N/venv/bin/python3"
191191
// ie. Python runtime location is 'System'.
192192
if (SystemInfo.IsDocker)
193193
{

0 commit comments

Comments
 (0)