zipseq finalized
This commit is contained in:
@@ -178,6 +178,10 @@ def run_zip(worker_count: int, *, verbose: bool) -> int:
|
||||
work_items.append((seq_dir, zip_path, state_path, seq_state))
|
||||
|
||||
if not work_items:
|
||||
if not RENDER_ROOT.exists():
|
||||
log("zip", "Render root 'Renders' not found; nothing to zip.")
|
||||
else:
|
||||
log("zip", "Archives already up to date; no sequences needed zipping.")
|
||||
return 0
|
||||
|
||||
updated_paths: list[Path] = []
|
||||
@@ -217,6 +221,7 @@ def run_zip(worker_count: int, *, verbose: bool) -> int:
|
||||
|
||||
def run_expand(worker_count: int, *, verbose: bool) -> int:
|
||||
if not ARCHIVE_ROOT.exists():
|
||||
log("expand", "No archives to expand (missing 'Renders/_zipped').")
|
||||
return 0
|
||||
|
||||
work_items: list[tuple[Path, dict]] = []
|
||||
@@ -235,6 +240,7 @@ def run_expand(worker_count: int, *, verbose: bool) -> int:
|
||||
work_items.append((zip_path, seq_state))
|
||||
|
||||
if not work_items:
|
||||
log("expand", "Working folders already match archives; nothing to expand.")
|
||||
return 0
|
||||
|
||||
total = len(work_items)
|
||||
|
||||
Reference in New Issue
Block a user