Skip to content

Commit

Permalink
Suppress type error
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Sep 20, 2023
1 parent 26e6322 commit e3a25d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/19_get_renders.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def _(event: viser.GuiEvent) -> None:
line_width=3.0,
color=onp.random.uniform(size=3),
)
images.append(client.get_render(height=1080, width=1920))
images.append(client.get_render(height=720, width=1280))

print("Writing GIF...")
iio.imwrite("saved.gif", images)
Expand Down
2 changes: 1 addition & 1 deletion src/viser/infra/_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def unregister_handler(
if callback is None:
self._incoming_handlers.pop(message_cls)
else:
self._incoming_handlers[message_cls].remove(callback)
self._incoming_handlers[message_cls].remove(callback) # type: ignore

def _handle_incoming_message(self, client_id: ClientId, message: Message) -> None:
"""Handle incoming messages."""
Expand Down

0 comments on commit e3a25d2

Please sign in to comment.