diff --git a/plugins/util/text.py b/plugins/util/text.py index 5047561..935a15c 100755 --- a/plugins/util/text.py +++ b/plugins/util/text.py @@ -27,7 +27,7 @@ def multiword_replace(text, wordDic): # from -def truncate_words(content, length=100, suffix='...'): +def truncate_str(content, length=100, suffix='...'): "Truncates a string after a certain number of chars." if len(content) <= length: return content