changeset 258:f84e0a37835f

text_x_arnica: corrected msg for possible IOError
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 10 Sep 2008 12:16:46 +0200
parents f8dad7956a30
children 9c712e3704e6
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	Wed Sep 10 11:43:06 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Sep 10 12:16:46 2008 +0200
@@ -451,7 +451,7 @@
                 try:
                     im_obj = Image.open(imagef)
                 except IOError:
-                    msg = _("Can not access attachment: %(filename)s. Often the case for this error is an emtpy image attachment.") % {"filename": os.path.basename(imagef)}
+                    msg = _("Can not access attachment: %(filename)s. Often the case for this error is a truncated image attachment.") % {"filename": os.path.basename(imagef)}
                     self.request.write(self.formatter.text(msg))
                     continue
                 else: