Merge branch 'master' of git@fucktheforce.de:blogthon
This commit is contained in:
commit
af872acbd3
17
blogthon.cgi
17
blogthon.cgi
@ -243,13 +243,16 @@ else:
|
|||||||
if linklist == "True":
|
if linklist == "True":
|
||||||
print ' <div class="sidebarentry">'
|
print ' <div class="sidebarentry">'
|
||||||
print ' <small>links</small><br />'
|
print ' <small>links</small><br />'
|
||||||
content = open("linklist", "r")
|
try:
|
||||||
for line in content:
|
content = open("linklist", "r")
|
||||||
if line.strip() is "":
|
for line in content:
|
||||||
print ' <br />'
|
if line.strip() is "":
|
||||||
else:
|
print ' <br />'
|
||||||
print ' <a href="' + line.split(" ")[0] + '" target="_blank">' + line.split(" ", 1)[1].strip() + '</a> <br />'
|
else:
|
||||||
content.close()
|
print ' <a href="' + line.split(" ")[0] + '" target="_blank">' + line.split(" ", 1)[1].strip() + '</a> <br />'
|
||||||
|
content.close()
|
||||||
|
except:
|
||||||
|
print ' <br />'
|
||||||
print ' </div>'
|
print ' </div>'
|
||||||
|
|
||||||
print ' </div>'
|
print ' </div>'
|
||||||
|
Loading…
Reference in New Issue
Block a user