From 2037bf20dc45960a9e0f06bf10290b005fc92f8e Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Tue, 28 Aug 2012 22:15:44 +0200 Subject: [PATCH] Code still working. Can be further simplified --- ivolution/util/Notifier.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ivolution/util/Notifier.py b/ivolution/util/Notifier.py index 7299e93..0fa892d 100644 --- a/ivolution/util/Notifier.py +++ b/ivolution/util/Notifier.py @@ -75,4 +75,5 @@ class Observable(): """ for observer in self.obs_collection: #print "sent %s to %s" %(message, str(observer)) - observer.update(message) + if message[0] == observer.name: + observer.update(message[1])