From c8d3ac27c0d66bb20fb77f9ef958ce9ce3ab7cc0 Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Tue, 22 Jun 2010 17:18:17 -0400 Subject: [PATCH] Ensure that there always is a title --- filters/mememe.plugin | 1 + 1 file changed, 1 insertion(+) diff --git a/filters/mememe.plugin b/filters/mememe.plugin index 41d4d19..41fb803 100644 --- a/filters/mememe.plugin +++ b/filters/mememe.plugin @@ -410,6 +410,7 @@ for i in range(0,len(weighted_links)): # otherwise, parse the html if not title: title = html(revmap.get(link,link)).title + if not title: title = link.strip('/').split('/')[-1] # dehtmlize title = re.sub('&(\w+);',