Skip to content

Commit

Permalink
allow executor in debug mode
Browse files Browse the repository at this point in the history
Signed-off-by: zjgemi <liuxin_zijian@163.com>
  • Loading branch information
zjgemi committed Jan 26, 2024
1 parent 71f2918 commit 89e0e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen2/utils/step_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def gen_doc(*, make_anchor=True, make_link=True, **kwargs):
def init_executor(
executor_dict,
):
if executor_dict is None or config["mode"] == "debug":
if executor_dict is None:
return None
etype = executor_dict.pop("type")
if etype == "dispatcher":
Expand Down

0 comments on commit 89e0e8e

Please sign in to comment.