File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ async def blink_snapshot(self) -> bool:
445
445
self .logger .debug ("directory created for the photo image path" )
446
446
self .logger .info ("saving blink foto" )
447
447
await camera .image_to_file (self .config .photo_image_path )
448
- if not self .detect_daylight () and self .blink_image_brightening () :
448
+ if not self .detect_daylight () and self .blink_image_brightening :
449
449
self .adjust_image ()
450
450
except Exception as err :
451
451
self .logger .error ("Error: {0}" .format (err ))
@@ -598,7 +598,7 @@ def picam_request_download_foto(self) -> bool:
598
598
)
599
599
response .raise_for_status ()
600
600
file .write (response .content )
601
- if not self .detect_daylight () and self .picam_image_brightening () :
601
+ if not self .detect_daylight () and self .picam_image_brightening :
602
602
self .adjust_image ()
603
603
604
604
self .logger .debug (
You can’t perform that action at this time.
0 commit comments