diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index 6256ae67..2bd219a9 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -217,7 +217,7 @@ else: except: pass config_file = config_file.replace('{{{ NODE }}}', node) - python = 'python' + python = sys.executable or 'python' try: python = Popen(['which', 'python2'], stdout=PIPE).communicate()[0].replace('\n', '') or \ Popen(['which', 'python'], stdout=PIPE).communicate()[0].replace('\n', '') or python |