Remove unused code (#7430)

This commit is contained in:
Jirasak Nopparat 2023-08-10 17:50:01 +07:00 committed by GitHub
parent afe3b5dd3d
commit 4c63ad767a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,6 @@ class TrackedObject:
return (thumb_update, significant_change, autotracker_update) return (thumb_update, significant_change, autotracker_update)
def to_dict(self, include_thumbnail: bool = False): def to_dict(self, include_thumbnail: bool = False):
(self.thumbnail_data["frame_time"] if self.thumbnail_data is not None else 0.0)
event = { event = {
"id": self.obj_data["id"], "id": self.obj_data["id"],
"camera": self.camera, "camera": self.camera,