diff --git a/pyrightconfig.json b/pyrightconfig.json index 6dafdcd85..1130ba338 100644 --- a/pyrightconfig.json +++ b/pyrightconfig.json @@ -114,7 +114,6 @@ "src/pipecat/transports/heygen/transport.py", "src/pipecat/transports/lemonslice/transport.py", "src/pipecat/transports/livekit/transport.py", - "src/pipecat/transports/local/tk.py", "src/pipecat/transports/smallwebrtc/connection.py", "src/pipecat/transports/smallwebrtc/request_handler.py", "src/pipecat/transports/smallwebrtc/transport.py", diff --git a/src/pipecat/transports/local/tk.py b/src/pipecat/transports/local/tk.py index a11f4f277..be9d6db1c 100644 --- a/src/pipecat/transports/local/tk.py +++ b/src/pipecat/transports/local/tk.py @@ -228,7 +228,7 @@ class TkOutputTransport(BaseOutputTransport): # This holds a reference to the photo, preventing it from being garbage # collected. - self._image_label.image = photo + self._image_label.image = photo # type: ignore[attr-defined] class TkLocalTransport(BaseTransport):