Exception fix for python 2.5
This commit is contained in:
parent
bc6a0f176a
commit
fad6090431
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user