summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-10-14 21:42:55 +0100
committerGitHub <noreply@github.com>2016-10-14 21:42:55 +0100
commita68ade6ed3ba4a058c8fe6c56095b207390aecdb (patch)
tree353f73ab3e48a39937c6b7ceba6a33dc0e205e4b /synapse/app
parentMerge pull request #1169 from matrix-org/erikj/fix_email_notifs (diff)
parentUse sys.executable instead of hardcoded python. fixes #1161 (diff)
downloadsynapse-a68ade6ed3ba4a058c8fe6c56095b207390aecdb.tar.xz
Merge pull request #1162 from larroy/master
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"