Skip to content

Commit 9302f86

Browse files
authored
fix: fix type hint for camera_num (#141)
Signed-off-by: Patrick Gehrsitz <github@mryel.de>
1 parent a1eebf9 commit 9302f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spyglass/camera_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def get_type_str(obj) -> str:
9494
return str(type(obj)).split("'")[1]
9595

9696

97-
def get_libcamera_controls_string(camera_num: str) -> str:
97+
def get_libcamera_controls_string(camera_num: int) -> str:
9898
ctrls_str = ""
9999
libcam_cm = libcamera.CameraManager.singleton()
100100
if camera_num > len(libcam_cm.cameras) - 1:

0 commit comments

Comments
 (0)