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 @@ def rescale(self, qt=True):
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)