ajustement tiret et apostrophe
This commit is contained in:
parent
69c854f1ad
commit
f17e341a93
1 changed files with 1 additions and 1 deletions
2
main.py
2
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue