Adding a message to send to ok profile walker
This commit is contained in:
parent
16477b4649
commit
64bfc47695
1 changed files with 1 additions and 1 deletions
|
|
@ -83,6 +83,7 @@ class ProfilesWalker(Optimization):
|
||||||
# profile = self.browser.get_profile(id)
|
# profile = self.browser.get_profile(id)
|
||||||
self.browser.do_rate(id)
|
self.browser.do_rate(id)
|
||||||
self.browser.visit_profile(id)
|
self.browser.visit_profile(id)
|
||||||
|
self.browser.post_mail(id, u"Sympa ton profil :)")
|
||||||
self.logger.info(u'Visited profile %s ' % (id))
|
self.logger.info(u'Visited profile %s ' % (id))
|
||||||
|
|
||||||
# Get score from the aum_score module
|
# Get score from the aum_score module
|
||||||
|
|
@ -99,7 +100,6 @@ class ProfilesWalker(Optimization):
|
||||||
self.profiles_queue.add(id)
|
self.profiles_queue.add(id)
|
||||||
return
|
return
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
||||||
print e
|
print e
|
||||||
finally:
|
finally:
|
||||||
if self.view_cron is not None:
|
if self.view_cron is not None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue