reorder
This commit is contained in:
@@ -132,6 +132,14 @@ def get_status_summary(output_dir: str) -> dict:
|
||||
return result
|
||||
|
||||
|
||||
def delete_state(output_dir: str, group_id: str):
|
||||
"""Wipe all cached views, state, and video for this group."""
|
||||
import shutil
|
||||
d = cache_dir(output_dir, group_id)
|
||||
if os.path.isdir(d):
|
||||
shutil.rmtree(d)
|
||||
|
||||
|
||||
def get_group_video(output_dir: str, group_id: str) -> Optional[str]:
|
||||
"""Return the video path if the turntable is complete and the file exists."""
|
||||
st = load_state(output_dir, group_id)
|
||||
|
||||
Reference in New Issue
Block a user