Skip to content

Commit

Permalink
Simplification [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
maddenp committed Oct 10, 2023
1 parent 27ad6eb commit 370567e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iotaa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def decorated_task(*args, **kwargs) -> _AssetT:
if not ready_initial or _i_am_top_task():
_report_readiness(ready=ready_initial, taskname=taskname, initial=True)
if not ready_initial:
if all(req_asset.ready() for req_asset in _delegate(g, taskname)):
if _ready(_delegate(g, taskname)):
logging.info("%s: Ready", taskname)
_execute(g, taskname)
else:
Expand Down

0 comments on commit 370567e

Please sign in to comment.