diff options
-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] == "+": |