mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Fixed a small bug when sending long tweets via twyshort
This commit is contained in:
parent
30f739c42e
commit
9346bba7a0
@ -109,7 +109,7 @@ class basicTweet(object):
|
||||
if results.weightedLength > self.max:
|
||||
self.session.sound.play("max_length.ogg")
|
||||
else:
|
||||
self.message.set_title(_(u"%s - %s characters") % (self.title, results.weightedLength))
|
||||
self.message.set_title(_(u"%s - %s characters") % (self.title, len(self.message.get_text())))
|
||||
|
||||
def spellcheck(self, event=None):
|
||||
text = self.message.get_text()
|
||||
|
Loading…
Reference in New Issue
Block a user