aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2010-11-20 20:01:08 +0100
committerStefan Ritter <xeno@thehappy.de>2010-11-20 20:01:08 +0100
commitf449c222815dc6b33cf59b8f7bf36d3c2a17b2e9 (patch)
tree6a260249cabe79589c6e12b3dc31cdaa13e8ca21 /blogthon.cgi
parent65750101575642ff696c396fbad5ee1741e5878e (diff)
* Some code cleanup
* First code for moderated comments
Diffstat (limited to 'blogthon.cgi')
-rwxr-xr-xblogthon.cgi6
1 files changed, 3 insertions, 3 deletions
diff --git a/blogthon.cgi b/blogthon.cgi
index f883bea..215c7fd 100755
--- a/blogthon.cgi
+++ b/blogthon.cgi
@@ -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')