diff options
author | Pedro Larroy <pedro.larroy.lists@gmail.com> | 2016-10-08 23:55:20 +0200 |
---|---|---|
committer | Pedro Larroy <pedro.larroy.lists@gmail.com> | 2016-10-08 23:55:20 +0200 |
commit | c57f871184cf669374c07faa6a95eceb8a9321b2 (patch) | |
tree | 9a31b9fc8cf49c9c59c20c0033b1ffc2409b4bc2 /synapse/app/synctl.py | |
parent | Merge branch 'release-v0.18.1' of github.com:matrix-org/synapse (diff) | |
download | synapse-c57f871184cf669374c07faa6a95eceb8a9321b2.tar.xz |
Use sys.executable instead of hardcoded python. fixes #1161
Diffstat (limited to 'synapse/app/synctl.py')
-rwxr-xr-x | synapse/app/synctl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py index bb41962d47..c045588866 100755 --- a/synapse/app/synctl.py +++ b/synapse/app/synctl.py @@ -24,7 +24,7 @@ import subprocess import sys import yaml -SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"] +SYNAPSE = [sys.executable, "-B", "-m", "synapse.app.homeserver"] GREEN = "\x1b[1;32m" RED = "\x1b[1;31m" |