Remove unused code

This commit is contained in:
Jirasak Nopparat 2023-08-10 01:03:50 +07:00 committed by GitHub
parent fbed3fbb8b
commit 7a7bfc3bfd
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,