diff options
author | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-06-04 19:43:19 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguz@sugarlabs.org> | 2012-06-04 19:43:19 (GMT) |
commit | d891f7cdd2846b551fd0b744484a8f22fab7842b (patch) | |
tree | 122da8c22423e5cccdf438675218e8628a481071 /utils.py | |
parent | 87469d6e0de8dc29bc6d40006f1f8e4760567f5d (diff) |
More elegant list
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,10 +85,10 @@ def get_icon(activity_id): return pixbuf -def download_activity(id, progress_function): +def download_activity(_id, progress_function): """Download (and install) an activity""" store_list = get_store_list() - activity_obj = store_list[id] + activity_obj = store_list[_id] name = activity_obj[1] name = name.lower() |