Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-jpq committed Oct 13, 2024
1 parent d468597 commit 807dcb2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions chadtree/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
wrap_future,
)
from concurrent.futures import Future, ThreadPoolExecutor
from contextlib import AbstractAsyncContextManager, suppress
from contextlib import AbstractAsyncContextManager
from dataclasses import replace
from functools import wraps
from logging import DEBUG as DEBUG_LVL
Expand Down Expand Up @@ -194,14 +194,11 @@ async def cont() -> None:
if attempt == RENDER_RETRIES:
log.warning("%s", e)
else:
next_state = replace(
state_ref.val = replace(
state, node_row_lookup=derived.node_row_lookup
)
break
else:
next_state = state

state_ref.val = next_state

if settings.profiling and not has_drawn:
has_drawn = True
Expand Down

0 comments on commit 807dcb2

Please sign in to comment.