diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/extensions/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/extensions/__init__.py b/shell/extensions/__init__.py index d7f9232..8290d41 100644 --- a/shell/extensions/__init__.py +++ b/shell/extensions/__init__.py @@ -14,4 +14,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -from extensions._extensions import * +try: + from extensions._extensions import * +except ImportError: + from sugar import ltihooks + from extensions._extensions import * |