Don't try to resume a DSObject if no activity can open it.

This commit is contained in:
Tomeu Vizoso 2007-09-08 18:41:59 +02:00
parent b3ad232b0c
commit f73132de91

View File

@ -138,6 +138,8 @@ class DSObject(object):
activityfactory.create(bundle.get_service_name()) activityfactory.create(bundle.get_service_name())
else: else:
if not self.get_activities():
return
if service_name is None: if service_name is None:
service_name = self.get_activities()[0].service_name service_name = self.get_activities()[0].service_name