diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-12 20:17:57 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-07-12 20:17:57 (GMT) |
commit | 2bbedf988b39c5af35777954444ba54ceba13ecb (patch) | |
tree | f3607f074de03e6774a9e8963d485ea4db7dcc1c /shell/ActivityRegistry.py | |
parent | d12b780074b05b0abcaf6b3877a9a4047c6e0d0e (diff) |
Fix a bunch of bugs, more cleanups
Diffstat (limited to 'shell/ActivityRegistry.py')
-rw-r--r-- | shell/ActivityRegistry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ActivityRegistry.py b/shell/ActivityRegistry.py index 2ddf767..957d436 100644 --- a/shell/ActivityRegistry.py +++ b/shell/ActivityRegistry.py @@ -69,8 +69,8 @@ class ActivityRegistry: activity_exec = cp.get('Activity', 'exec') elif cp.has_option('Activity', 'python_module'): python_module = cp.get('Activity', 'python_module') - activity_exec = 'python -m sugar/activity/Activity %s %s' \ - % (activity_id, python_module) + activity_exec = '%s %s %s' % (env.get_activity_runner(), + activity_id, python_module) env.add_to_python_path(directory) else: logging.error('%s must specifiy exec or python_module' % (path)) |