diff --git a/mytwitter.py b/mytwitter.py index 1023773..2ef5ba2 100755 --- a/mytwitter.py +++ b/mytwitter.py @@ -211,7 +211,7 @@ class TweetBox(gtk.VBox): # and the text new_text = status.text new_text = re.sub('& ', '& ', new_text) - link_text = re.sub(r"(http://.*?)( |$)", r'\1\2', new_text) + new_text = re.sub(r"(http://.*?)( |$)", r'\1\2', new_text) self.text.set_markup(new_text)