Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/ReckonPrimer.activity/coach.py
diff options
context:
space:
mode:
Diffstat (limited to 'ReckonPrimer.activity/coach.py')
-rwxr-xr-xReckonPrimer.activity/coach.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ReckonPrimer.activity/coach.py b/ReckonPrimer.activity/coach.py
index a8bc09f..a3fed96 100755
--- a/ReckonPrimer.activity/coach.py
+++ b/ReckonPrimer.activity/coach.py
@@ -33,14 +33,14 @@ class Coach:
def exercise_selected(self, key):
self._ex = self._collect.select(key)
- self._learner.notify(('start-calcs', self._ex))
+ self._learner.start_calcs(self._ex)
def notify(self, (msg, data)):
"""called by the observed objects"""
print("in coach.notify: msg=, data=", (msg, data))
if msg == 'setting-done': # from display
self._ex.update_setting(data)
- self._learner.notify(('start-calcs', self._ex))
+ self._learner.start_calcs(self._ex)
elif msg == 'switch-to-setts': # from display
self._ex = self._collect.select(data)
self._dis.offer_setting(self._ex)