Updated to use application/vnd.olpc-sugar instead of application/vnd.olpc-x-sugar.

This commit is contained in:
Tomeu Vizoso
2007-08-21 16:59:32 +02:00
parent 3df75e4c6e
commit 544a400afc
3 changed files with 6 additions and 8 deletions
+2 -1
View File
@@ -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():