fix reuse
This commit is contained in:
parent
a230f9da48
commit
c6a8453fc2
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ def render_all(options):
|
||||||
os.makedirs(fragment_prefix, exist_ok=True)
|
os.makedirs(fragment_prefix, exist_ok=True)
|
||||||
fragment_clips = fragment['clips']
|
fragment_clips = fragment['clips']
|
||||||
used_ids = {c['id'] for c in clips_used}
|
used_ids = {c['id'] for c in clips_used}
|
||||||
unused_fragment_clips = [c for c in fragment_clips if c['id'] not in clips_used]
|
unused_fragment_clips = [c for c in fragment_clips if c['id'] not in used_ids]
|
||||||
print('fragment clips', len(fragment_clips), 'unused', len(unused_fragment_clips))
|
print('fragment clips', len(fragment_clips), 'unused', len(unused_fragment_clips))
|
||||||
print('--')
|
print('--')
|
||||||
print('Video:')
|
print('Video:')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue