hooks now work

refactored task as dict instead of list for readability.
This commit is contained in:
Ilan Steemers
2015-06-18 15:23:21 +02:00
parent 90b5b0d6ab
commit 5adf92eb27
6 changed files with 88 additions and 91 deletions
+4
View File
@@ -7,3 +7,7 @@ def countdown(n):
n -= 1
stop_time = time.time()
return stop_time - start_time
def result(obj):
print('RESULT HOOK: {}'.format(obj.result))