From d725a351835009174b080cb73ab2cf12438370f1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 17 Dec 2022 16:04:30 +0000 Subject: [PATCH] Arabic number of characters --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 519e2ad29..04b3f6234 100644 --- a/utils.py +++ b/utils.py @@ -231,7 +231,7 @@ def is_arabic(content: str) -> bool: if result: result = result.strip() # more than a third of the content - if len(result) > len(content) / 3: + if len(result) > 1: return True return False