From f17e341a939cf29b0276d336fc3dbda45c7b91c8 Mon Sep 17 00:00:00 2001 From: Francois Pelletier Date: Tue, 18 Apr 2023 10:07:51 -0400 Subject: [PATCH] ajustement tiret et apostrophe --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7a2c9f1..8866aa3 100644 --- a/main.py +++ b/main.py @@ -38,7 +38,7 @@ def make_bold_part(token): """ Makes bold text. """ - if (not only_alphanumerics(token)) or len(token) < 2: + if (not only_alphanumerics(token)) or len(token) <= 2: return token else: mid_token = round(len(token)/2)