Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/datastore/datastore.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/datastore/datastore.py')
-rw-r--r--sugar/datastore/datastore.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sugar/datastore/datastore.py b/sugar/datastore/datastore.py
index 0dbe35b..7af2e93 100644
--- a/sugar/datastore/datastore.py
+++ b/sugar/datastore/datastore.py
@@ -116,7 +116,8 @@ class DSObject(object):
return activities
def is_bundle(self):
- return self.metadata['mime_type'] == 'application/vnd.olpc-x-sugar'
+ return self.metadata['mime_type'] in ['application/vnd.olpc-x-sugar',
+ 'application/vnd.olpc-sugar']
def resume(self, service_name=None):
if self.is_bundle():