Removed debugging lines

This commit is contained in:
Andrew Murray 2017-09-01 20:04:22 +10:00
parent 5c2df30ac3
commit 6602c7cec4

View File

@ -139,16 +139,13 @@ SAVE = {
}
def _save(im, fp, filename, check=0):
def _save(im, fp, filename):
try:
rawmode, bits, colormaptype, imagetype = SAVE[im.mode]
except KeyError:
raise IOError("cannot write mode %s as TGA" % im.mode)
if check:
return check
if colormaptype:
colormapfirst, colormaplength, colormapentry = 0, 256, 24
else: