From de67aad7640a443d83e7e709f5dbfc67995e60bf Mon Sep 17 00:00:00 2001 From: Luke Rogers Date: Sat, 13 Oct 2012 12:33:17 +1300 Subject: [PATCH] Forgot a file --- plugins/util/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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