diff options
author | Walther Neuper <neuper@neuper.(none)> | 2009-12-15 11:37:58 (GMT) |
---|---|---|
committer | Walther Neuper <neuper@neuper.(none)> | 2009-12-15 11:37:58 (GMT) |
commit | 147ff80ae15d83b3df6b9a134ba3d9307d60d609 (patch) | |
tree | b6089fd362804da163c5ff20dc6f1d1e13e72e1b /ReckonPrimer.activity/coach.py | |
parent | 428e459100309c47209da317f4dffaf129bb7cd5 (diff) |
collect_table --> calc; switch exerc works partially
Diffstat (limited to 'ReckonPrimer.activity/coach.py')
-rwxr-xr-x | ReckonPrimer.activity/coach.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ReckonPrimer.activity/coach.py b/ReckonPrimer.activity/coach.py index 1cb4234..ae86d12 100755 --- a/ReckonPrimer.activity/coach.py +++ b/ReckonPrimer.activity/coach.py @@ -30,9 +30,10 @@ class Coach: #print("in coach.notify: msg=, data=", (msg, data)) if msg == 'setting-done': # from display self._ex.update_setting(data) - self._learner.notify((msg, self._ex)) + self._learner.notify(('start-calcs', self._ex)) elif msg == 'exerc-selected': # from collection self._ex = self._collect.select(data) - #print('in coach.notify(exerc-selected), self._ex._sett=',self._ex._sett) - self._dis.offer_setting(self._ex) + print('in coach.notify(exerc-selected), _sett=',self._ex._sett) + #WN091215 self._dis.offer_setting(self._ex) + self._learner.notify(('start-calcs', self._ex)) |