mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-08-08 13:51:01 +02: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