summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorPedro Larroy <pedro.larroy.lists@gmail.com>2016-10-08 23:55:20 +0200
committerPedro Larroy <pedro.larroy.lists@gmail.com>2016-10-08 23:55:20 +0200
commitc57f871184cf669374c07faa6a95eceb8a9321b2 (patch)
tree9a31b9fc8cf49c9c59c20c0033b1ffc2409b4bc2 /synapse/app
parentMerge branch 'release-v0.18.1' of github.com:matrix-org/synapse (diff)
downloadsynapse-c57f871184cf669374c07faa6a95eceb8a9321b2.tar.xz
Use sys.executable instead of hardcoded python. fixes #1161
Diffstat (limited to 'synapse/app')
-rwxr-xr-xsynapse/app/synctl.py2
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"