From c9162e9606b5c6aeec23a7c71b3cb01fee05ab9e Mon Sep 17 00:00:00 2001 From: iannesbitt Date: Thu, 7 Jan 2021 20:47:21 -0500 Subject: [PATCH] fixing bug with implementation of #9 --- rsudp/c_tweet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsudp/c_tweet.py b/rsudp/c_tweet.py index dc50217..b41a808 100644 --- a/rsudp/c_tweet.py +++ b/rsudp/c_tweet.py @@ -110,7 +110,7 @@ def _resolve_extra_text(self, extra_text): extra_text = str(extra_text) len_ex_txt = len(extra_text) - if len_extra_text > 143: + if len_ex_text > 143: printW('extra_text parameter is longer than allowable (%s chars) and will be truncated. Please keep extra_text at or below 143 characters.' % len_ex_txt, sender=self.sender) extra_text = extra_text[:143]