Fix movmaker tool_path regression so worker can start jobs
This commit is contained in:
parent
a7fea0a8e8
commit
765daa150c
1 changed files with 2 additions and 7 deletions
|
|
@ -72,15 +72,10 @@ def load_order_json(directory: Path) -> list[str] | None:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
console(f"Error reading {ORDER_FILENAME}: {e}")
|
console(f"Error reading {ORDER_FILENAME}: {e}")
|
||||||
return None
|
return None
|
||||||
"""Return the preferred executable path for ffmpeg/ffprobe style tools.
|
|
||||||
|
|
||||||
Args:
|
|
||||||
local_path: Path to a bundled copy shipped with movmaker.
|
|
||||||
fallback: Name of the system executable to call when the bundled copy is missing.
|
|
||||||
|
|
||||||
Returns:
|
def tool_path(local_path: Path, fallback: str) -> str:
|
||||||
The fully-qualified path to execute.
|
"""Return preferred executable path for bundled or system tools."""
|
||||||
"""
|
|
||||||
return str(local_path) if local_path.exists() else fallback
|
return str(local_path) if local_path.exists() else fallback
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue