Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
cli exec needs venv/bin/ prepend
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus authored and ml-evs committed Nov 9, 2023
1 parent 2ec132f commit 99d53d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion marda_extractors_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ def execute(
if method == SupportedExecutionMethod.CLI:
print(f"Executing {command}")
if self.venv_dir:
output = self._execute_cli_venv(command)
venv_bin_command = str(self.venv_dir / BIN / command)
output = self._execute_cli_venv(venv_bin_command)
else:
output = self._execute_cli(command)

Expand Down

0 comments on commit 99d53d3

Please sign in to comment.