From 126ed7ededc5ac42137b0381b0c32e86fda6b9a2 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Mon, 9 Mar 2009 16:35:57 +0100 Subject: [PATCH] Emptylines in linklist are now interpreted as
--- blogthon.cgi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blogthon.cgi b/blogthon.cgi index f2a3d0e..930ab49 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -144,7 +144,9 @@ if linklist == "True": print ' links
' content = open("linklist", "r") for line in content: - if not line.strip() is "": + if line.strip() is "": + print '
' + else: print '  ' + line.split(" ", 1)[1].strip() + ' 
' content.close() print ' '