Skip to content

Commit

Permalink
Use sys.executable
Browse files Browse the repository at this point in the history
  • Loading branch information
curegit committed Apr 26, 2024
1 parent 2927913 commit 1e89a92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion descreen/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def eprint_sperr(stderr: bytes):
def halftonecv(input_img: bytes, args: list[str]) -> bytes:
try:
cp = sp.run(
["halftonecv", "-", "-O", "-q"] + args,
[sys.executable, "-m", "halftonecv", "-", "-O", "-q"] + args,
check=True,
text=False,
capture_output=True,
Expand Down

0 comments on commit 1e89a92

Please sign in to comment.