Use sys.executable instead of hardcoded python. fixes #1161

pull/1162/head
Pedro Larroy 2016-10-08 23:55:20 +02:00
parent e779ee0ee2
commit c57f871184
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import subprocess
import sys import sys
import yaml import yaml
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"] SYNAPSE = [sys.executable, "-B", "-m", "synapse.app.homeserver"]
GREEN = "\x1b[1;32m" GREEN = "\x1b[1;32m"
RED = "\x1b[1;31m" RED = "\x1b[1;31m"