Skip to content

Commit

Permalink
Update flow.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed May 14, 2024
1 parent e24fc08 commit afd484f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/controlflow/core/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ def _load_thread_from_ctx(cls, v):
v = ctx.get("thread", None)
if v is None:
v = Thread()
if not v.id:
v.create()

return v

Expand Down

0 comments on commit afd484f

Please sign in to comment.