Fixed some indentions
This commit is contained in:
parent
4e7b90d677
commit
6450122338
10
blogthon.cgi
10
blogthon.cgi
@ -144,8 +144,8 @@ if static_display: static_display = re.sub('/', '', static_display)
|
|||||||
|
|
||||||
post_display = action.getvalue('p')
|
post_display = action.getvalue('p')
|
||||||
if post_display:
|
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')
|
allentries_display = action.getvalue('a')
|
||||||
feed_display = action.getvalue('feed')
|
feed_display = action.getvalue('feed')
|
||||||
@ -456,9 +456,9 @@ else:
|
|||||||
for line in comments_content:
|
for line in comments_content:
|
||||||
if line.split(".", 1)[0] == "-":
|
if line.split(".", 1)[0] == "-":
|
||||||
if notfirstline == 1:
|
if notfirstline == 1:
|
||||||
print ' </div>'
|
print ' </div>'
|
||||||
print ' </div>'
|
print ' </div>'
|
||||||
notfirstline = 0;
|
notfirstline = 0;
|
||||||
print ' <div class="comment">'
|
print ' <div class="comment">'
|
||||||
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
|
print ' <div class="comment_author">' + line.split(".", 1)[1].strip() + '</div>'
|
||||||
elif line.split(".", 1)[0] == "+":
|
elif line.split(".", 1)[0] == "+":
|
||||||
|
Loading…
Reference in New Issue
Block a user