7290: align warning with the image_dpi fix logic

This commit is contained in:
Vassilii Khachaturov 2013-12-14 16:01:06 +02:00
parent 36f84e1d0d
commit 2f5e221711

View File

@ -119,7 +119,7 @@ def image_dpi(source):
except ImportError: except ImportError:
import logging import logging
logging.warning(_("WARNING: PIL module not loaded. " logging.warning(_("WARNING: PIL module not loaded. "
"Image cropping in report files will not be available.")) "Image cropping in report files will be impaired."))
else: else:
try: try:
img = PIL.Image.open(source) img = PIL.Image.open(source)