@@ -1301,6 +1301,9 class camera(object): | |||
|
1301 | 1301 | #Como no es de noche, mantenemos el brillo seteado a 0. |
|
1302 | 1302 | self.brightness = False |
|
1303 | 1303 | self.__update_brightness(brightness=0) |
|
1304 | elif flag_night == True and brightness == 0: | |
|
1305 | self.brightness = False | |
|
1306 | self.__update_brightness(brightness=0) | |
|
1304 | 1307 | except: |
|
1305 | 1308 | |
|
1306 | 1309 | self.write_status("[CAMERA_ERROR] Ocurrió un error al controlar el brillo de la camara.") |
General Comments 0
You need to be logged in to leave comments.
Login now