From 6282ecc0531769b3f9d3e04dca0f57ed36fb371f Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 10 Apr 2010 13:06:01 -0400 Subject: [PATCH] Fixed hyperlink regex --- mytwitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)