diff options
author | Vincent Vinet <vince.vinet@gmail.com> | 2009-10-22 21:37:46 (GMT) |
---|---|---|
committer | Vincent Vinet <vince.vinet@gmail.com> | 2009-10-22 22:16:08 (GMT) |
commit | 1b0624f034909d0b42e6e7da8ec414125ce35109 (patch) | |
tree | 0c524b2cf34fa6e9d083f013579f373af8b08658 /tutorius/engine.py | |
parent | 926238a2c54daae80d4c561b4cda8546d40173a7 (diff) |
finish the vault merge :: use it
Diffstat (limited to 'tutorius/engine.py')
-rw-r--r-- | tutorius/engine.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tutorius/engine.py b/tutorius/engine.py index dda9f3f..9c1dae4 100644 --- a/tutorius/engine.py +++ b/tutorius/engine.py @@ -2,7 +2,7 @@ import logging import dbus.mainloop.glib from jarabe.model import shell -from sugar.tutorius.bundler import TutorialStore +from sugar.tutorius.vault import Vault from sugar.bundle.activitybundle import ActivityBundle class Engine: @@ -25,11 +25,9 @@ class Engine: self._tutorial.detach() self._tutorial = None - store = TutorialStore() - #Get the active activity from the shell activity = self._shell.get_active_activity() - self._tutorial = store.load_tutorial(tutorialID, bundle_path=activity.get_bundle_path()) + self._tutorial = Vault.loadTutorial(tutorialID) #TProbes automatically use the bundle id, available from the ActivityBundle bundle = ActivityBundle(activity.get_bundle_path()) |