fix(scripts): before process

This commit is contained in:
Dowon
2024-07-20 17:27:38 +09:00
parent 62591c43bd
commit 1985fa13e1

View File

@@ -820,8 +820,7 @@ class AfterDetailerScript(scripts.Script):
if need_call_process(p):
with preserve_prompts(p):
copy_p = copy(p)
if hasattr(p.scripts, "before_process"):
p.scripts.before_process(copy_p)
p.scripts.before_process(copy_p)
p.scripts.process(copy_p)
self.write_params_txt(params_txt_content)