Merge branch 'master' of git@fucktheforce.de:blogthon

This commit is contained in:
Stefan Ritter 2009-05-15 23:21:56 +02:00
commit af872acbd3

View File

@ -243,6 +243,7 @@ else:
if linklist == "True":
print ' <div class="sidebarentry">'
print ' <small>links</small><br />'
try:
content = open("linklist", "r")
for line in content:
if line.strip() is "":
@ -250,6 +251,8 @@ else:
else:
print ' &nbsp;<a href="' + line.split(" ")[0] + '" target="_blank">' + line.split(" ", 1)[1].strip() + '</a>&nbsp;<br />'
content.close()
except:
print ' <br />'
print ' </div>'
print ' </div>'