Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Fix WhiteBalance() defaults and don't allocate dict
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWhited committed May 24, 2015
1 parent 0cb3e7e commit 638fa7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rawkit/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ class WhiteBalance(namedtuple('WhiteBalance',
:rtype: :class:`WhiteBalance`
"""

def __new__(cls, auto=True, camera=True, greybox=None, rgbg=None):
__slots__ = ()

def __new__(cls, auto=False, camera=False, greybox=None, rgbg=None):
return super(WhiteBalance, cls).__new__(
cls, auto, camera, greybox, rgbg)

Expand Down

0 comments on commit 638fa7d

Please sign in to comment.