aboutsummaryrefslogtreecommitdiffstats
path: root/blogthon.cgi
diff options
context:
space:
mode:
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')