diff --git a/lib/sugar/datastore/datastore.py b/lib/sugar/datastore/datastore.py index 07e76351..5238d18b 100644 --- a/lib/sugar/datastore/datastore.py +++ b/lib/sugar/datastore/datastore.py @@ -122,7 +122,7 @@ class DSObject(object): result = registry.get_activities_for_type(mime_type) if not result: for parent_mime in mime.get_mime_parents(mime_type): - result.extend(registry.get_activities_for_type(parent_type)) + result.extend(registry.get_activities_for_type(parent_mime)) return result def get_activities(self):