From db3faa6a2c26103f5f0814944acf86038c449ea6 Mon Sep 17 00:00:00 2001 From: gilesb Date: Mon, 12 Jan 2026 06:58:59 +0000 Subject: [PATCH] Fix dog effect import for new single-file format Dog effect now uses process() instead of effect_dog(). Co-Authored-By: Claude Opus 4.5 --- legacy_tasks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/legacy_tasks.py b/legacy_tasks.py index f33d42c..abdc3b8 100644 --- a/legacy_tasks.py +++ b/legacy_tasks.py @@ -67,12 +67,14 @@ def get_artdag_commit() -> str: sys.path.insert(0, str(EFFECTS_PATH / "dog")) # Register the dog effect with the EFFECT executor -from effect import effect_dog +# New format uses process() instead of effect_dog() +from effect import process as dog_process @register_effect("dog") def _dog_effect(input_path: Path, output_path: Path, config: dict) -> Path: """Dog effect wrapper - registered for DAG EFFECT nodes.""" - return effect_dog(input_path, output_path, config) + # Wrap for new whole-video API + return dog_process([input_path], output_path, config, None) def file_hash(path: Path) -> str: