mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
Make zmq data types consistent
This commit is contained in:
parent
9eef933224
commit
68e0d331fa
@ -98,5 +98,7 @@ class Subscriber:
|
||||
self.socket.close()
|
||||
self.context.destroy()
|
||||
|
||||
def _return_object(self, topic: str, payload: Any) -> Any:
|
||||
def _return_object(
|
||||
self, topic: str, payload: Optional[tuple[str, Any]]
|
||||
) -> Optional[tuple[str, Any]]:
|
||||
return payload
|
||||
|
||||
Loading…
Reference in New Issue
Block a user