Fixed checking if LST path exists
This commit is contained in:
parent
953a5d7004
commit
945c7e4e27
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class PiCameraStreamer(BaseCamera):
|
|||
"numpy_resolution": self.numpy_resolution,
|
||||
"jpeg_quality": self.jpeg_quality,
|
||||
"picamera_lst_path": self.picamera_lst_path
|
||||
if os.path.isfile(self.picamera_lst_path)
|
||||
if (self.picamera_lst_path and os.path.isfile(self.picamera_lst_path))
|
||||
else None,
|
||||
"picamera": {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue