Removed unused explicit LST handler
This commit is contained in:
parent
a72211a6dc
commit
89e8d041a8
1 changed files with 0 additions and 12 deletions
|
|
@ -212,18 +212,6 @@ class PiCameraStreamer(BaseCamera):
|
||||||
config["picamera"], pause_for_effect=True
|
config["picamera"], pause_for_effect=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# Handle lens shading if camera supports it
|
|
||||||
if (
|
|
||||||
hasattr(self.camera, "lens_shading_table")
|
|
||||||
and "lens_shading_table" in config["picamera"]
|
|
||||||
):
|
|
||||||
try:
|
|
||||||
self.camera.lens_shading_table = json_to_ndarray(
|
|
||||||
config["picamera"].get("lens_shading_table")
|
|
||||||
)
|
|
||||||
except KeyError as e:
|
|
||||||
logging.error(e)
|
|
||||||
|
|
||||||
# PiCameraStreamer parameters
|
# PiCameraStreamer parameters
|
||||||
for key, value in config.items(): # For each provided setting
|
for key, value in config.items(): # For each provided setting
|
||||||
if (key != "picamera") and hasattr(self, key):
|
if (key != "picamera") and hasattr(self, key):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue