changeset 244:a2eb72412c13

text_x_arnica: fixed message for IOError
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sun, 07 Sep 2008 23:12:01 +0200
parents 94c4f97265eb
children 9636895bf71b
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sun Sep 07 23:09:41 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sun Sep 07 23:12:01 2008 +0200
@@ -464,7 +464,7 @@
             try:
                 im_obj = Image.open(imagef)
             except IOError:
-                msg = _("attachment: %(filename)s not exists") % {"filename": os.path.basename(imagef)}
+                msg = _("Can not access attachment: %(filename)s. Often the case for this error is an emtpy image attachment.") % {"filename": os.path.basename(imagef)}
                 self.request.write(self.formatter.text(msg))
                 return
             else: