Small linklist fix

This commit is contained in:
Stefan Ritter 2009-07-11 17:07:59 +02:00
parent 8e50ed8aab
commit 7c912c0dcd

View File

@ -336,7 +336,7 @@ else:
content = open("linklist", "r") content = open("linklist", "r")
for line in content: for line in content:
if line.strip() is "": if line.strip() is "":
print '' print '<br />'
else: else:
print ' <li class="linklist_list_entry"><a href="' + line.split(" ")[0] + '" target="_blank" class="months_list_entry">' + line.split(" ", 1)[1].strip() + '</a></li>' print ' <li class="linklist_list_entry"><a href="' + line.split(" ")[0] + '" target="_blank" class="months_list_entry">' + line.split(" ", 1)[1].strip() + '</a></li>'
content.close() content.close()