From a7e08621a1bce6f0f8722b9081d49202865a3fea 2024-10-17 22:32:02 From: Armando123x <51831060+Armando123x@users.noreply.github.com> Date: 2024-10-17 22:32:02 Subject: [PATCH] Update others.py --- 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.")