Fix typing for gamma_curve

This commit is contained in:
jaknapper 2026-03-03 14:21:28 +00:00
parent b716013ef2
commit 3020ab59f4
3 changed files with 8 additions and 8 deletions

View file

@ -719,8 +719,8 @@ class StreamingPiCamera2(BaseCamera):
)
@lt.property
def gamma_correction(self) -> float:
"""Return the gamma correction from the tuning file."""
def gamma_correction(self) -> list[int]:
"""Return the gamma correction curve from the tuning file."""
return tf_utils.get_gamma_curve(self.tuning)
@lt.action