diff --git a/blogthon.cgi b/blogthon.cgi index 0e1f64d..a70811a 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -303,7 +303,6 @@ else: print '
' print '
' print '
' - print ' ' content.close() # Entry else: @@ -333,7 +332,6 @@ else: print '
' print '
' print '
' - print ' ' # Comments... # ... are shown when post_display and comments_file isn't false @@ -342,7 +340,7 @@ else: if comments_file: comments_file = glob.glob(entries_dir + title + '.comments') comments_content = open(comments_file[0], "r") - print '' + print ' ' print ' ' print '' print '
' @@ -358,6 +356,9 @@ else: print '
' print '' comments_content.close() + else: + print ' ' + print '' # Form for adding comments random_int_a = random.randint(1,9) @@ -371,7 +372,6 @@ else: print '
' print '
' print ' ' - print '' if comments == "True": comments_file = glob.glob(entries_dir + title + '.comments')