Skip to content
This repository
Browse code

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

  • Loading branch information...
commit 8ad25a64ff93165806f4b6178c388f80a750a379 2 parents 3340c3a + 8f48fbe
Sam Ruby authored

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 filters/mememe.plugin
4 filters/mememe.plugin
@@ -495,6 +495,10 @@ for i in range(0,len(weighted_links)):
495 495 count = count + 1
496 496 if count >= 10: break
497 497
  498 +# remove ul when there are no memes
  499 +if memes_ul.lsCountNode() < 1:
  500 + memes_ul.unlinkNode()
  501 +
498 502 log.info("Writing " + MEMES_ATOM)
499 503 output=open(MEMES_ATOM,'w')
500 504 output.write(feed_doc.serialize('utf-8'))

0 comments on commit 8ad25a6

Please sign in to comment.
Something went wrong with that request. Please try again.