diff options
Diffstat (limited to 'sugar/activity/activityfactory.py')
-rw-r--r-- | sugar/activity/activityfactory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/activity/activityfactory.py b/sugar/activity/activityfactory.py index 967d10d..1041747 100644 --- a/sugar/activity/activityfactory.py +++ b/sugar/activity/activityfactory.py @@ -143,7 +143,7 @@ class ActivityCreationHandler(gobject.GObject): if not os.path.exists('/etc/olpc-security'): handle = self._handle.get_dict() self._factory.create(dbus.Dictionary(handle, signature='ss'), - timeout=120, + timeout=120 * 1000, reply_handler=self._no_reply_handler, error_handler=self._create_error_handler) else: @@ -153,7 +153,7 @@ class ActivityCreationHandler(gobject.GObject): factory.CreateActivity( self._service_name, self._handle.get_dict(), - timeout=120, + timeout=120 * 1000, reply_handler=self._create_reply_handler, error_handler=self._create_error_handler, dbus_interface=_RAINBOW_ACTIVITY_FACTORY_INTERFACE) |