20 instead of 15

master
Gašper Spagnolo 2023-08-04 09:51:51 +02:00
parent 1b79bed702
commit 5cb2a70096
No known key found for this signature in database
GPG Key ID: 2EA0738CC1EFEEB7
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class XMLProcessor:
warnings.warn("Empty text") warnings.warn("Empty text")
return 0.0 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") warnings.warn("Text contains number")
return 0.0 return 0.0