Skip to content

Commit

Permalink
Call public, non-warning versions internally
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Jul 20, 2014
1 parent 37691bc commit 751f672
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions PIL/ImagePalette.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ def random(mode="RGB"):

def sepia(white="#fff0c0"):
r, g, b = ImageColor.getrgb(white)
r = _make_linear_lut(0, r)
g = _make_linear_lut(0, g)
b = _make_linear_lut(0, b)
r = make_linear_lut(0, r)
g = make_linear_lut(0, g)
b = make_linear_lut(0, b)
return ImagePalette("RGB", r + g + b)


Expand Down

0 comments on commit 751f672

Please sign in to comment.