mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
Another python 2.6 detail
This commit is contained in:
parent
e9b0b09b72
commit
08347569b5
|
@ -1098,7 +1098,7 @@ def _save(im, fp, filename):
|
|||
atts[k] = v[0]
|
||||
continue
|
||||
if isStringType(v):
|
||||
atts[k] = v.encode('ascii', errors='ignore')
|
||||
atts[k] = v.encode('ascii', 'ignore')
|
||||
continue
|
||||
|
||||
except Exception as msg:
|
||||
|
|
Loading…
Reference in New Issue
Block a user