This commit is contained in:
Kovid Goyal 2012-03-13 09:55:20 +05:30
parent 32cbc84fc3
commit ce90b49fb5

View File

@ -36,7 +36,9 @@ class RescaleImages(object):
ext = 'JPEG'
raw = item.data
if not raw: continue
if hasattr(raw, 'xpath') or not raw:
# Probably an svg image
continue
try:
img = Image()
img.load(raw)