From 26dc2792185ecd9bd3d1354e8f169877e86fd903 Mon Sep 17 00:00:00 2001 From: Alexander Demidov Date: Thu, 15 May 2014 17:49:10 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=B4=20=D0=B2=D1=8B=D1=85=D0=BE?= =?UTF-8?q?=D0=B4=D0=B0=20=D0=B2=20=D1=81=D0=BB=D1=83=D1=87=D0=B0=D0=B5=20?= =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B8=20EX=5FDATAERR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resize.py | 1 + 1 file changed, 1 insertion(+) diff --git a/resize.py b/resize.py index eff845b..1338aad 100755 --- a/resize.py +++ b/resize.py @@ -52,3 +52,4 @@ try: im.save(outfile, "JPEG", quality=100) except IOError: print("cannot create thumbnail for '%s'" % infile) + sys.exit(os.EX_DATAERR)