From 5cb2a70096fcc4ed69a3e3b6e7b472374643c255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C5=A1per=20Spagnolo?= Date: Fri, 4 Aug 2023 09:51:51 +0200 Subject: [PATCH] 20 instead of 15 --- parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.py b/parse.py index 5abc82c..4d7dcff 100644 --- a/parse.py +++ b/parse.py @@ -49,7 +49,7 @@ class XMLProcessor: warnings.warn("Empty text") return 0.0 - if text is not None and len(text) < 15 and self.contains_number(text): + if text is not None and len(text) < 20 and self.contains_number(text): warnings.warn("Text contains number") return 0.0