diff options
Diffstat (limited to 'sugar_network/local/mounts.py')
-rw-r--r-- | sugar_network/local/mounts.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sugar_network/local/mounts.py b/sugar_network/local/mounts.py index d826afe..30a2172 100644 --- a/sugar_network/local/mounts.py +++ b/sugar_network/local/mounts.py @@ -19,9 +19,8 @@ import logging from os.path import isabs, exists, join, basename, isdir from gettext import gettext as _ -import sweets_recipe import active_document as ad -from sweets_recipe import Bundle +from sugar_network.zerosugar import Bundle, Spec from sugar_network.toolkit import sugar, http from sugar_network.local import activities, cache from sugar_network.resources.volume import Request @@ -130,7 +129,7 @@ class HomeMount(LocalMount): for path in activities.checkins(request['guid']): try: - spec = sweets_recipe.Spec(root=path) + spec = Spec(root=path) except Exception: util.exception(_logger, 'Failed to read %r spec file', path) continue |