Exception fix for python 2.5

This commit is contained in:
Stefan Ritter 2010-12-14 16:21:03 +01:00
parent bc6a0f176a
commit fad6090431
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ try:
mail_to = configuration.get("smtp", "mail_to") mail_to = configuration.get("smtp", "mail_to")
smtp_host = configuration.get("smtp", "smtp_host") smtp_host = configuration.get("smtp", "smtp_host")
feed_preview = configuration.get("feed", "feed_preview") feed_preview = configuration.get("feed", "feed_preview")
except ConfigParser.Error as error: except ConfigParser.Error, error:
errorpage(str(error)) errorpage(str(error))
if not os.path.exists(entries_dir): if not os.path.exists(entries_dir):