commit
87e799ac88
@ -100,7 +100,7 @@ class SMSCounter(object):
|
|||||||
def truncate(cls, plaintext, limitsms):
|
def truncate(cls, plaintext, limitsms):
|
||||||
count = cls.count(plaintext)
|
count = cls.count(plaintext)
|
||||||
|
|
||||||
if count.mesages <= limitsms:
|
if count.messages <= limitsms:
|
||||||
return plaintext
|
return plaintext
|
||||||
|
|
||||||
if count.encoding == 'UTF16':
|
if count.encoding == 'UTF16':
|
||||||
|
Loading…
Reference in New Issue
Block a user