diff options
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | tools/shared.py | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -68,4 +68,5 @@ a license to everyone to use it as detailed in LICENSE.) * Llorens Marti Garcia <lgarcia@imvu.com> (copyright owned by IMVU) * Jinsuck Kim <jkim@imvu.com> (copyright owned by IMVU) * Todd Lee <tlee@imvu.com> (copyright owned by IMVU) -* Anthony Pesch <inolen@gmail.com>
\ No newline at end of file +* Anthony Pesch <inolen@gmail.com> +* Robert Bragg <robert.bragg@intel.com> (copyright owned by Intel Corporation) diff --git a/tools/shared.py b/tools/shared.py index 0dbae1d0..25455ff6 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) |