* Some code cleanup

* First code for moderated comments
This commit is contained in:
Stefan Ritter 2010-11-20 20:01:08 +01:00
parent 6575010157
commit f449c22281
2 changed files with 5 additions and 4 deletions

View File

@ -16,13 +16,13 @@
# * Complete Atom Feed (like RSS)
# * Fix broken charset in outgoing mails (needs some testing)
from ConfigParser import ConfigParser
import os
import sys
import time
import locale
import re
import cgi
from ConfigParser import ConfigParser
from cgi import FieldStorage
from smtplib import SMTP
from md5 import new as newmd5
from glob import glob
@ -173,7 +173,7 @@ try: feed_preview = configuration.get('feed', 'feed_preview')
except: errorpage('"feed_preview" is missing or empty in configuration!')
# Read POST Variables
action = cgi.FieldStorage()
action = FieldStorage()
month_display = action.getvalue('m')
static_display = action.getvalue('s')

View File

@ -16,7 +16,8 @@ staticpages: True
monthlist: True
linklist: True
permalinks: True
comments: True
comments: True
comments_moderated: False
newest_first: True
[smtp]