aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2009-03-02 17:48:24 +0100
committerStefan Ritter <xeno@thehappy.de>2009-03-02 17:48:24 +0100
commitc8cd647d707a0bb384fccbedf058db21e4ce9e37 (patch)
tree5150fd235776882e89e8c4592c35a7f2c1768e9d
parentf4adbfd744aa64c8fd87ad8e4bd20e6974a6d5cf (diff)
Bugfix:
Fixed a bug with linktitles containing more than just one word
-rwxr-xr-xblogthon.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index 8501a16..71bf580 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -103,7 +103,7 @@ if linklist == "True":
print ' <div class="sidebarentry">'
print ' <small>links</small><br />'
for line in content:
- print ' &nbsp;<a href=' + line.split(" ")[0] + '>' + line.split(" ")[-1].strip() + '</a>&nbsp;<br />'
+ print ' &nbsp;<a href=' + line.split(" ")[0] + '>' + line.split(" ", 1)[1] + '</a>&nbsp;<br />'
print ' </div>'
content.close()