Permalink
Browse files

Merge branch 'master' of http://github.com/scottj/venus

  • Loading branch information...
2 parents 3340c3a + 8f48fbe commit 8ad25a64ff93165806f4b6178c388f80a750a379 @rubys committed Oct 20, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 filters/mememe.plugin
View
@@ -495,6 +495,10 @@ for i in range(0,len(weighted_links)):
count = count + 1
if count >= 10: break
+# remove ul when there are no memes
+if memes_ul.lsCountNode() < 1:
+ memes_ul.unlinkNode()
+
log.info("Writing " + MEMES_ATOM)
output=open(MEMES_ATOM,'w')
output.write(feed_doc.serialize('utf-8'))

0 comments on commit 8ad25a6

Please sign in to comment.