From 2c7a22b15790c914b660408feb5d5fce096ac598 Mon Sep 17 00:00:00 2001 From: Owen Williams Date: Tue, 06 Mar 2007 13:01:46 +0000 Subject: Fix bug for activities with spaces in the name --- (limited to 'sugar') diff --git a/sugar/activity/bundle.py b/sugar/activity/bundle.py index 6a6ebdd..283204f 100644 --- a/sugar/activity/bundle.py +++ b/sugar/activity/bundle.py @@ -43,7 +43,7 @@ class Bundle: if cp.has_option(section, 'class'): self._class = cp.get(section, 'class') - self._exec = '%s %s --bundle-path=%s' % ( + self._exec = '%s %s --bundle-path="%s"' % ( os.path.join(env.get_shell_bin_dir(), _PYTHON_FACTORY), self._class, self.get_path()) elif cp.has_option(section, 'exec'): -- cgit v0.9.1