We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d468597 commit 807dcb2Copy full SHA for 807dcb2
chadtree/client.py
@@ -11,7 +11,7 @@
11
wrap_future,
12
)
13
from concurrent.futures import Future, ThreadPoolExecutor
14
-from contextlib import AbstractAsyncContextManager, suppress
+from contextlib import AbstractAsyncContextManager
15
from dataclasses import replace
16
from functools import wraps
17
from logging import DEBUG as DEBUG_LVL
@@ -194,14 +194,11 @@ async def cont() -> None:
194
if attempt == RENDER_RETRIES:
195
log.warning("%s", e)
196
else:
197
- next_state = replace(
+ state_ref.val = replace(
198
state, node_row_lookup=derived.node_row_lookup
199
200
break
201
- else:
202
- next_state = state
203
204
- state_ref.val = next_state
205
206
if settings.profiling and not has_drawn:
207
has_drawn = True
0 commit comments