Fix tzinfo type for onvif component (#28178)

This commit is contained in:
Diefferson Koderer Môro authored and Paulus Schoutsen committed 2019-10-24 13:39:10 -07:00
1 parent ec478ab848
commit c96d4c978d
1 file changed
+1 -1
+1 -1
View File
@@ -206,7 +206,7 @@ class ONVIFHassCamera(Camera):
else:
tzone = (
dt_util.get_time_zone(device_time.TimeZone)
or dt_util.DEFAULT_TIME_ZONE,
or dt_util.DEFAULT_TIME_ZONE
)
cdate = device_time.LocalDateTime