Merge pull request #604 from nijel/patch-1

Fix variable name
This commit is contained in:
Alex Clark ☺ 2014-04-07 18:36:26 -04:00
commit 8dc7583773

View File

@ -807,7 +807,7 @@ class Image:
new_im = self._new(im)
if delete_trns:
#crash fail if we leave a bytes transparency in an rgb/l mode.
del(new.info['transparency'])
del(new_im.info['transparency'])
if trns is not None:
if new_im.mode == 'P':
try: