mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 01:04:32 +02:00
global xyz-grid
This commit is contained in:
+3
-1
@@ -545,7 +545,9 @@ class ScriptRunner:
|
||||
try:
|
||||
if (script.args_to > 0) and (script.args_to >= script.args_from):
|
||||
args = p.per_script_args.get(script.title(), p.script_args[script.args_from:script.args_to])
|
||||
processed = script.process_images(p, *args, **kwargs)
|
||||
_processed = script.process_images(p, *args, **kwargs)
|
||||
if _processed is not None:
|
||||
processed = _processed
|
||||
except Exception as e:
|
||||
errors.display(e, f'Running script process images: {script.filename}')
|
||||
s.record(script.title())
|
||||
|
||||
Reference in New Issue
Block a user