From 25c399723940f8715bf5d3516972fbb57f43c8c7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Sep 2022 19:25:13 +0100 Subject: [PATCH] Inverted character threshold --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index e30c445fe..8b1e8a619 100644 --- a/utils.py +++ b/utils.py @@ -3901,7 +3901,7 @@ def remove_inverted_text(text: str, system_language: str) -> str: replaced_chars += 1 index += 1 - if replaced_chars > 3: + if replaced_chars > 2: text = text[::-1] return text