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