Skip to content

Commit

Permalink
Add comment to explain reason behind stringification
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamBergamin committed Jun 5, 2024
1 parent 6be32a5 commit ae8a3f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slack_cli_hooks/hooks/get_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
)

PROTOCOL: Protocol

# Stringify sys.executable to prevent execution failures if a white space is present in the absolute python path
EXEC = f"'{sys.executable}'" or "python3"


Expand Down

0 comments on commit ae8a3f1

Please sign in to comment.