From 7165d0536f513709431bd69e38ea3c1c891b4572 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 27 Sep 2011 13:01:36 +0200 Subject: [PATCH] oops, sluts with empty description are not spambots --- weboob/backends/aum/antispam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/aum/antispam.py b/weboob/backends/aum/antispam.py index 5cd27d7f..275021b9 100644 --- a/weboob/backends/aum/antispam.py +++ b/weboob/backends/aum/antispam.py @@ -39,7 +39,7 @@ class AntiSpam(object): # The name of profile is in form #123456789 if profile['pseudo'] == '': return False - if profile['about1'].strip() == profile['about2'].strip(): + if len(profile['about1'].strip() > 50) and profile['about1'].strip() == profile['about2'].strip(): return False if profile['about1'].startswith('salut! je te donne mon msn'): return False