Remove unnecessary space

This commit is contained in:
James Kiger committed 2024-04-15 13:26:25 -04:00
1 parent 99778a0a63
commit be91e188f5
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@ from django.utils.encoding import smart_str
def truncatechars(value: str, chars=100):
"""Truncate string and append …"""
return (value[: chars - 1] + "…") if len(value) > chars else value
return (value[:chars - 1] + "…") if len(value) > chars else value
def strip(value):