[stickynotes-antispam] Mark for deletion of 3 URLs in sequence were found



commit 85c80a9372b4adda0b5fbc4c3b1d49c2f04a1ff5
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Jun 26 16:04:36 2019 +0200

    Mark for deletion of 3 URLs in sequence were found

 stickynotes-antispam.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/stickynotes-antispam.py b/stickynotes-antispam.py
index d20f3e6..81c0136 100755
--- a/stickynotes-antispam.py
+++ b/stickynotes-antispam.py
@@ -70,7 +70,7 @@ def check_if_spam(data):
         if re.match("http[s]?://", line, re.IGNORECASE):
             link_count += 1
 
-    if link_count >= 4:
+    if link_count >= 3:
         mark_for_deletion = True
 
     # Delete pastes with matching keywords


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]