diff --git a/apps/worker/worker_app/tasks/generation.py b/apps/worker/worker_app/tasks/generation.py index 71bc47b1b..7915bd075 100644 --- a/apps/worker/worker_app/tasks/generation.py +++ b/apps/worker/worker_app/tasks/generation.py @@ -582,7 +582,14 @@ def _render_from_edit_plan( cover_candidates = getattr(result, "cover_candidates", None) render_temp_dir = getattr(result, "temp_dir", None) - return output_path, result.duration, cover_candidates, voiceover_path, render_temp_dir, result.thumbnail_url or "" + return ( + output_path, + result.duration, + cover_candidates, + voiceover_path, + render_temp_dir, + result.thumbnail_url or "", + ) finally: db.close()