mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Make zmq data types consistent
This commit is contained in:
parent
ad2664b488
commit
aabab5e5ef
@ -98,5 +98,7 @@ class Subscriber:
|
|||||||
self.socket.close()
|
self.socket.close()
|
||||||
self.context.destroy()
|
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
|
return payload
|
||||||
|
Loading…
Reference in New Issue
Block a user