From e1d895cc9abb0f7ffac8acc043746cbe2e5f4fe1 Mon Sep 17 00:00:00 2001 From: sigoden Date: Fri, 7 Jun 2024 16:10:05 +0800 Subject: refactor: py/js entry func name (#31) --- scripts/run-tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/run-tool.py') diff --git a/scripts/run-tool.py b/scripts/run-tool.py index 97d1d25..c6bcfc8 100755 --- a/scripts/run-tool.py +++ b/scripts/run-tool.py @@ -72,4 +72,4 @@ except (json.JSONDecodeError, TypeError): sys.exit(1) module = load_func(func_name) -module.main(**args) +module.run(**args) -- cgit v1.2.3