diff options
author | Stefan Ritter <xeno@thehappy.de> | 2009-10-21 15:43:17 +0200 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2009-10-21 15:43:17 +0200 |
commit | 6450122338effa145c716f3dd812fd3747dd4aaa (patch) | |
tree | e4d9292d27bf2ee47f896f4c6782f583f9f7da19 | |
parent | 4e7b90d6777f948000a031833c7c3024a5319a59 (diff) |
Fixed some indentions
-rwxr-xr-x | blogthon.cgi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index 8f40193..2da17d3 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -144,8 +144,8 @@ if static_display: static_display = re.sub('/', '', static_display) post_display = action.getvalue('p') if post_display: - post_display = re.sub(' ', '-', post_display) - post_display = re.sub('/', '', post_display) + post_display = re.sub(' ', '-', post_display) + post_display = re.sub('/', '', post_display) allentries_display = action.getvalue('a') feed_display = action.getvalue('feed') @@ -456,9 +456,9 @@ else: for line in comments_content: if line.split(".", 1)[0] == "-": if notfirstline == 1: - print ' </div>' - print ' </div>' - notfirstline = 0; + print ' </div>' + print ' </div>' + notfirstline = 0; print ' <div class="comment">' print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>' elif line.split(".", 1)[0] == "+": |