[sulfur] catch OSError exceptions on resize_image call

This commit is contained in:
Fabio Erculiani
2010-02-12 13:09:32 +01:00
parent aaae62bfc2
commit 04d8838898
+2 -1
View File
@@ -2064,7 +2064,8 @@ class EntropyPackageView:
try:
resize_image(EntropyPackageView.ROW_HEIGHT, store_path,
icon_path)
except ValueError:
except (ValueError, OSError,):
# OSError = source file moved while copying
return None
try: