From 77b80dd9b3500539b24b7dc6258c02c23fd4d015 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 17 Feb 2024 13:39:01 +0300 Subject: fix ipcam_ntp_util --- include/py/homekit/camera/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/py/homekit/camera/types.py b/include/py/homekit/camera/types.py index 1a97e63..ec4663b 100644 --- a/include/py/homekit/camera/types.py +++ b/include/py/homekit/camera/types.py @@ -42,7 +42,7 @@ class CameraType(Enum): return VideoContainerType.MP4 if self.get_codec(1) == VideoCodecType.H264 else VideoContainerType.MOV def is_hikvision(self) -> bool: - return self in (CameraType.HIKVISION_264.value, CameraType.HIKVISION_265) + return self in (CameraType.HIKVISION_264, CameraType.HIKVISION_265) class TimeFilterType(Enum): -- cgit v1.2.3