Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tutorius
diff options
context:
space:
mode:
Diffstat (limited to 'tutorius')
-rw-r--r--tutorius/creator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorius/creator.py b/tutorius/creator.py
index 12f48aa..cdd7878 100644
--- a/tutorius/creator.py
+++ b/tutorius/creator.py
@@ -115,9 +115,9 @@ class Creator(Object):
new_state=self._state)
final_event = addon.create(
name='MessageButtonNext',
- message=T('This is the end of this tutorial.',
- source=self._probe_mgr.currentActivity)
+ message=T('This is the end of this tutorial.')
)
+ final_event.source = self._probe_mgr.currentActivity
self._tutorial.add_transition(
state_name=self._state,
transition=(final_event, self._tutorial.END),