diff --git a/auto_editor/analyze.py b/auto_editor/analyze.py index a699ca51b..9eea7a78f 100644 --- a/auto_editor/analyze.py +++ b/auto_editor/analyze.py @@ -155,7 +155,7 @@ def iter_motion( def obj_tag(path: Path, kind: str, tb: Fraction, obj: Sequence[object]) -> str: mod_time = int(path.stat().st_mtime) - key = f"{path}:{mod_time:x}:{tb}:" + ",".join(f"{v}" for v in obj) + key = f"{path.name}:{mod_time:x}:{tb}:" + ",".join(f"{v}" for v in obj) part1 = sha1(key.encode()).hexdigest()[:16] return f"{part1}{kind}"