Don't hardcode 'python' as our Python interpreter.

Should save OpenBSD a patch for the next alpha :).
This commit is contained in:
js 2008-08-14 11:59:02 +00:00
parent 7082d66dfc
commit 429fc2d1b3
1 changed files with 2 additions and 2 deletions

View File

@ -2312,9 +2312,9 @@ class RosterWindow:
if os.path.exists('history_manager.exe'): # user is running stable
helpers.exec_command('history_manager.exe')
else: # user is running svn
helpers.exec_command('python history_manager.py')
helpers.exec_command('%s history_manager.py' % sys.executable)
else: # Unix user
helpers.exec_command('python history_manager.py &')
helpers.exec_command('%s history_manager.py &' % sys.executable)
def on_info(self, widget, contact, account):
'''Call vcard_information_window class to display contact's information'''