Fix bug for activities with spaces in the name

This commit is contained in:
Owen Williams 2007-03-06 08:01:46 -05:00
parent 195e18d7b0
commit 2c7a22b157

View File

@ -43,7 +43,7 @@ class Bundle:
if cp.has_option(section, 'class'): if cp.has_option(section, 'class'):
self._class = cp.get(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), os.path.join(env.get_shell_bin_dir(), _PYTHON_FACTORY),
self._class, self.get_path()) self._class, self.get_path())
elif cp.has_option(section, 'exec'): elif cp.has_option(section, 'exec'):