From 64bfc476955663068646d7d40e9ed6e1cb7d8a11 Mon Sep 17 00:00:00 2001 From: Ahmed Bousadia Date: Thu, 8 May 2014 17:30:36 +0200 Subject: [PATCH] Adding a message to send to ok profile walker --- modules/okc/optim/profiles_walker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/okc/optim/profiles_walker.py b/modules/okc/optim/profiles_walker.py index fc34261a..f27982cc 100644 --- a/modules/okc/optim/profiles_walker.py +++ b/modules/okc/optim/profiles_walker.py @@ -83,6 +83,7 @@ class ProfilesWalker(Optimization): # profile = self.browser.get_profile(id) self.browser.do_rate(id) self.browser.visit_profile(id) + self.browser.post_mail(id, u"Sympa ton profil :)") self.logger.info(u'Visited profile %s ' % (id)) # Get score from the aum_score module @@ -99,7 +100,6 @@ class ProfilesWalker(Optimization): self.profiles_queue.add(id) return except Exception as e: - print e finally: if self.view_cron is not None: