We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d664246 commit cd48fddCopy full SHA for cd48fdd
FaceDetect/facedetect.py
@@ -79,7 +79,7 @@ def __init__(self, settings=None):
79
val = val.lower().strip() if type(val) is str else val
80
81
# Set the settings to the sanitized keys and values
82
- self.settings[sanitized_setting] = val if val else self.settings[sanitized_setting]
+ self.settings[sanitized_setting] = val if type(val) is bool or val else self.settings[sanitized_setting]
83
84
####################################################
85
# Public methods for face detection and recognition
0 commit comments