diff options
author | Stefan Ritter <xeno@thehappy.de> | 2010-12-14 16:21:03 +0100 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2010-12-14 16:21:03 +0100 |
commit | fad60904312f4be9de6045c01ff08aca982c1a01 (patch) | |
tree | ded598761a94d84a95b11f474e52c28a149760d3 | |
parent | bc6a0f176aa0f6842b361cd9d89fa27beb0b95f8 (diff) |
Exception fix for python 2.5
-rwxr-xr-x | blogthon.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blogthon.cgi b/blogthon.cgi index 3a69cf2..56a9335 100755 --- a/blogthon.cgi +++ b/blogthon.cgi @@ -103,7 +103,7 @@ try: mail_to = configuration.get("smtp", "mail_to") smtp_host = configuration.get("smtp", "smtp_host") feed_preview = configuration.get("feed", "feed_preview") -except ConfigParser.Error as error: +except ConfigParser.Error, error: errorpage(str(error)) if not os.path.exists(entries_dir): |