diff --git a/tools/others.py b/tools/others.py index ad376ba..d54ca02 100644 --- a/tools/others.py +++ b/tools/others.py @@ -1301,6 +1301,9 @@ class camera(object): #Como no es de noche, mantenemos el brillo seteado a 0. self.brightness = False self.__update_brightness(brightness=0) + elif flag_night == True and brightness == 0: + self.brightness = False + self.__update_brightness(brightness=0) except: self.write_status("[CAMERA_ERROR] Ocurrió un error al controlar el brillo de la camara.")