diff options
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-x | blogthon.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
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 ' <small>links</small><br />' content = open("linklist", "r") for line in content: - if not line.strip() is "": + if line.strip() is "": + print ' <br />' + else: print ' <a href="' + line.split(" ")[0] + '" target="_blank">' + line.split(" ", 1)[1].strip() + '</a> <br />' content.close() print ' </div>' |